These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
769 B

  1. # II
  2. ii is a suckless tool for the internet relay chat.
  3. `<>` indicated placeholders.
  4. ## Join a server
  5. On most servers `ssl` is required.
  6. So you need the `ssl` patch and use `-e` instead of `-p`.
  7. ```shell
  8. ii -n <nick> -s <server> -e 9999 &
  9. (sleep 2 &&
  10. echo "/msg NickServ REGISTER `<password>` `<mail>`" > ~/irc/<server>/nickserv/in &)
  11. #(sleep 2 &&
  12. #echo "/msg NickServ IDENTIFY `<password>`" > ~/irc/<server>/nickserv/in &)
  13. ```
  14. ## Join a channel
  15. ```shell
  16. echo "/join <channel-name>" > ~/irc/<server>/in &
  17. ```
  18. ## Show channel
  19. ```shell
  20. tail -f -n 500 \<channel>/out
  21. ```
  22. ## Write into channel
  23. ```shell
  24. echo "\msg <message>" > ~/irc/<server>/<channel>/in
  25. ```
  26. ## Write private message
  27. ```shell
  28. echo "\msg <recipient> <message>" > ~/irc/<server>/<channel>/in
  29. ```