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.
i was wondering if you could add /NETWORK ADD -autosendcmd “/^msg NickServ IDENTIFY password;wait 2000″ freenode” right to config file if so how would you put it in exactly..ty
Just look at ~/.irssi/config after running the commands, and you’ll see 🙂
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
Spot on, worked a treat. Helps if you run irssi like this:
irssi -c irc.freenode.net -n nick
Then it logs in perfectly 😀
Anybody knows how to make that irssi identify to nickserv before joining channel after reconnect to server (e.g. after time-out)?
Worked like a charm. Thank you 🙂
for those who battle with the tut, just use a connection string for every login like this:
Example: /connect -CONNECTIONTYPE IPADDRESS/HOSTNAME PORTNUMBER PASSWORDHERE USERNAMEHERE
Simulated: /connect -ssl 18.104.22.168 6627 819ff!RTg%amX YouMonkey:)
Thank you !
for freenode better use SASL!
On developer mode on my Chromebook have irssi install and setup to use sassl abn connect to freenode via tls encryption on 6679.