In the chat tutorial we went through all the basics of using chat on Redbrick. This tutorial goes through some of the more advanced features specific to the default chat client irssi.
When you start chat you'll have two windows, #lobby and the status window, but of course you're going to want to open more windows. The more windows you have open the harder it is to keep track of them so most people like to keep their different channels & private messages in the same place all the time.
Windows can be moved either left/right by typing
/window move left /window move right
Or, you can move a window straight to a certain number. For example, if you join the #gamessoc channel and want it in window 3 next to #lobby you can use the command
/window move 3
Scripts allow you to add functionality to irssi that wasnt originally part of the program, like extensions in firefox. Some members have scripts that allow you to set yourself to set yourself away automatically after you have been idle for a set period of time, and others to list the current windows you have open.
So, undone has given you a cool autoaway script, but how do you use it. The first thing you have to do is move it to the proper scripts directory which is ~/.irssi/scripts. You can do this using winscp. Once you've done that you need to load it, just type
from irssi to start it. If you want to search for your own cool scripts there's loads at the irssi homepage
Just as scripts can add functionality to irssi themes can be added that change the look of it. Adding themes is just like addming scripts, just copy them into the ~/.irssi folder. To use your new theme type
/set theme <theme-name>
There are lots of themes on the irssi homepage, some better than others. The themes are written in plain text, so if you find a well written example they're pretty easy to change around slightly.
Irssi comes with loads of options, so i've just included the ones I think are useful
/set window_history off
Irssi remembers the last few lines of text you've typed into it, just press up to view them. With this you have a seprate buffer of commands for each window, so you cant accidentally send the last line of a private message into #lobby for all to read
/set autolog on /set autolog_path ~/irclogs/$tag/$0.log
This turns on irssi logging, and setting the paths like this with the variables means that the irssi will save all the logs for a certain channel/pm in a different file each day.
/set autoclose_query 86400
This sets a time in seconds after which idle windows will be closed automatically, so your private message windows will be closed if you don't use them for a whole day (86400 seconds)
/set show_quit_once on
Say you and undone are in three of the same channels, with this set on if he quits for the night his quit message will only appear to you in one of your open windows, not all of them.
/set quit_message <my personal quit message>
Change the default quit message to your own personal one.
/last receive 10
Say i've just come back from a lecture, and i want to see was anyone talking about me while i was gone this shows me the last 10 lines in the current channel that contain my username.
/set real_name Andrew
This sets my real name to Andrew, so people know who i am if they use the /whois command on me.
In a channel with lots of people coming and going, you may want to ignore certain messages, such as joins. You can do this (in lobby for example) by typing
/ignore #lobby JOINS
Here's a list of the different message catagories you could set to ignore
NOTICES - Match NOTICE messages. SNOTES - Match server notices. CTCPS - Match CTCP messages. ACTIONS - Match CTCP actions. JOINS - Match join messages. PARTS - Match part messages. QUITS - Match quit messages. KICKS - Match kick messages. MODES - Match mode changes. TOPICS - Match topic changes. WALLOPS - Match wallops. INVITES - Match invite requests. NICKS - Match nickname changes. DCC - DCC related messages. DCCMSGS - Match DCC chat messages. CLIENTNOTICE - Irssi's notices. CLIENTCRAP - Miscellaneous irssi messages. CLIENTERROR - Irssi's error messages.
Saving Your Config
When you type chat at your prompt this loads irssi with all the default Redbrick settings. This is useful, because if you've broken something with your changes you can just restart and irssi will be just as it was before, but you'll want to save your personal configuration so you don't have to set up irssi the way you like it everytime you start.
To save all the current options and theme to a file type
To use this configuration rather than the default to start chat type
receive@murphy (~) % irssi --CONFIG=my-irssi.conf
Some Other Handy Commands
To join the channel, #intersocs, type
To leave the channel, #intersocs, without entirely quitting chat, type
To close a window you're not using anymore, type
To find out who someone is, for example, haus, type
To see the list of all the channels on the network, type
Or if you're looking for a channel but can't remember the exact name, but you know it contains "inter", type
Wanna see if someone mentions you (or something you're interested in, eg: helpdesk), type
Now whenever helpdesk is mentioned it'll highlight you
Say you're going to a lecture, but you don't want to have to scroll back up and see if someone hilighted you when you weren't looking, you set irssi to /away with a message, to do this type
/away gone to my lecture, back soon.
When you come back type just /away and you'll see any hilights you might've picked up between you going and coming back.
If you're lazy (like me), you can find loads of uses for the /alias command. Example: I like having the same away message all the time, and it's a bit long, so I made it into an /alias command by typing
/alias awaymsg /away haus is off in the real world if you need to talk to him you can reach him on <phone_num>
Now instead of typing the away message out everytime I can just type /awaymsg instead. It's also really handy for typos, like when I'm typing /me sometimes i end up typing /mw and then irssi tells me it's not a command, which can get really annoying. To fix it just type:
/alias mw /me
Now when you typo it doesn't matter \o/
This tutorial was just to get you started on some of the things you can do with irssi, for more have a look at the irssi documentation.
To give you an idea of what you can do, here's a screenshot of how i have irssi set up. Happy Configuring!
If you need any more help with irssi, please feel free to hey a helpdesk member or mail at firstname.lastname@example.org