autoaway+screen.pl: an irssi perl script (plugin)
Usefull only for people using irssi+screen.
It puts you away whenever your screen is detached and puts you back
when screen is attached again.
Commands:
to set the away message
to define if you are attached to this specific screen name
Use:
put this script in ~/.irssi/scripts , launch a screen with a name like this :
screen -S irc1
then launch irssi in this screen and load the script
/script load autoaway+screen.pl
set autoaway_screenname to 'irc1'
/set autoaway_screenname irc1
You can set autoaway_message if you wish
Here is the autoaway+screen.pl script.