screencmd is a irssi script that executes commands on screen attach and detach. For example, it can be used to ignore certain types of messages or disable autoscroll when the screen instance is detached.
To install, simply copy screencmd.pl to your irssi scripts directory and load it with /script load screencmd.pl. For further usage instructions, refer to screencmd.pl.
Options:
-
/set screencmd_attach <command>[; <command2>][; <commandN>]Command(s) to execute when screen is attached.
Example:
/set screencmd_attach /echo test1; /echo test2; ^echo test3 -
/set screencmd_detach <command>[; <command2>][; <commandN>]Command(s) to execute when screen is detached.
screencmd is distributed under the terms of the MIT license. See LICENSE-MIT.txt for details.