» irssi Commands

Switch Window:
————–
esc-cursor or alt-cursor => switch window
alt-q => window 11
alt-w => window 12
/window 30 => window 30
People with qwerty layout probably want to swap meta-y and meta-z:
/BIND meta-z change_window 16
/BIND -delete meta-y

Add network and server:
———————–
/network add -nick whatever -realname “Some User” efnet
/server add -auto -network efnet irc.efnet.net
/network add efnet -autosendcmd /FNAUTH   => send self defined alias /FNAUTH
by default to efnet

Join server:
————
/connect efnet

Close connection to server:
—————————
/disconnect efnet

Connect to specific server:
—————–
/server irc.choopa.net

Autojoin channel:
—————–
/channel add -auto #FreeBSDShell efnet

List channels:
————–
/list

Display configuration of irssi:
——————————–
/set
/set autocreate_own_query => display setting of variable autocreate_own_query

Kick user:
———-
/kick username     => just kick
/kickban username  => kick and username can’t join channel again
/ban username      => can’t join channel again
/unban username    => unban again
/knockout <time> <nick> <reason> => kickban a user for specific time

Window actions:
—————
/window move left  => move window to left
/window move 1     => move window to position 1
/layout save       => store/remember window settings

Diff stuff:
———–
/who               => display users in channel in status window
/who nick          => display info about user nick
/wii nick          => display info about user nick including idle state (depends on network)
/names             => display users in channel in channel window
/set user_name fo  => set (ident) username to ‘fo’
/away -FreeBSD Shell Possessed Us => set away-status on all network
/me is away        => not welcome in many channels
/mode +q idiot     => don’t allow messages from user idiot to channel (efnet special)
/quit              => leave all channels and quit irssi
/WC                => leave channel and close window
/part              => leave channel but don’t close window
/mod +i            => only allow invited users (/invite user)
/stats p           => display stats members
/alias FNAUTH  set autocreate_own_query OFF;msg -efnet nickserv identify PASSWORD;wait -efnet 3000;msg -efnet
chanserv invite #channel;msg -efnet nickserv set unfiltered on;set autocreate_own_query ON;
/quote capab identify-msg
/reload            => reload configuration (~/.irssi/config)
/ /CALC 3 * 3      => write “/CALC 3 * 3″ into the channel
/exec -o uptime    => display uptime

Direct Client Connect:
———————-
/dcc chat username     => direct chat with username
/msg =username message => send “message” to username without connection to server

NickServ (nick name handling):
——————————
/query NickServ         => create new window to talk to NickServ
help                    => get usage information
register <password>     => register your nick
info <user>             => request information about user
set password <newpass>  => set new passwort
set email foo@b.invalid => set mailaddress
set hide email          => don’t display mailaddress in “info” information
link nick_ <pass>       => link nickname nick_ to nick (nick_ has to be registered as well of course)
set master your_nick    => set master nickname to your_nick

ChanServ (channel handling – depends from IRC net):
—————————————————
/query ChanServ
register #channel <password>    => register channel
set #FreeBSDShell mlock +ton-m =>
set secureops                   =>
level #channel list             => display level information
level #channel set user 50      => set user to level 50
level #channel set autoop 10    => “cmdop” -> be able to /op
access #channel add user        =>
invite #channel                 => all users in channel are allowed to send “/invite”s
recover username                +
release username                => kill username and release the nickname (also see the ghost command)

Cloak Users:
————

http://efnet.net/faq.shtml#cloak

Logging:
——–
/set autolog = “yes”
/set autolog_path = “~/Logs/irc/$tag_$0.%Y-%m-%d.log”
/set autolog_level = “MSGS ACTIONS KICKS PUBLIC”

Scripts:
——–
% mkdir ~/.irssi/scripts ; cd ~/.irssi/scripts ; wget http://www.irssi.org/scripts/scripts/scriptassist.pl
/script load scriptassist.pl
/scriptassist install chanact
/script load chanact
[ /statusbar chanact add ]
[ /statusbar window remove chanact ]
/statusbar chanact add chanact -after act
/script unload script.pl

http://ben.reser.org/irssi/format_identify.pl

http://wouter.coekaerts.be/irssi/scripts/format_identify.pl

/script load format_identify
/quote capab identify-msg
=> not identified users are displayed as “user?”

Nicklist (works inside GNU screen or via fifo):
———————————————–
/scriptassist install nicklist
/script load nicklist
/nicklist screen

Keybindings:
————
/bind meta-y /window last   => toggle between last used windows

Ressources:
———–
/usr/share/doc/irssi