irssi auto-connect and auto-identify
Oct 5th, 2008 by bolt
There are loads of irssi scripts which do this, but the truth is irssi actually supports these things very well out of the box. Here’s how.
Start up irssi, then:
/connect irc.freenode.net
/nick MyIRCNick
/SERVER ADD -auto -network freenode irc.freenode.net 6667 <password>
(you may have to shutdown and restart irssi at this point for it to recognize the network name "freenode" in the next step)
/CHANNEL ADD -auto #ubuntu freenode
Another method of auto-identifying is seen below. The above is generally preferred.
/NETWORK ADD -autosendcmd "/^msg NickServ IDENTIFY password;wait 2000" freenode
Won’t work, you need to add a network object before you can attach a channel object to it.
Would work if you bump “/NETWORK ADD -autosendcmd “/^msg NickServ IDENTIFY password;wait 2000″ freenode” right above the “/server” line.
Very useful other then that, thank you very much.
Shai Deshe was wrong - the “/server add” line creates a network-object named “freenode” (the “-network freenode” option) related to the server and port. As soon as that network object is created, channels can be assigned to it.
The “/network add” command allows you to set network-specific options.
it works! I used it and it works great
now I am a genius