Project

General

Profile

Away nick, a script i find useful

Added by Per Amundsen over 12 years ago

Useless as of 1.9.0

When you go away or back, your nick is changed in all channels, and the channelbar/sidebar will change the color of the tab to System color, its quite annoying because you might think someone joined or parted.

I made this little script, it will deny AdiIRC to show the text "X changed nick to X", you will still get "Your nick is now X" in the status/server window.

OnEvent if ($event == NICK) { if ($nick == $me) { .eat text } }

If you only want it to work on certain nicks you could do:

OnEvent if ($event == NICK) { if ($nick == NICKHERE || $nick == OTHERNICKHERE) { .eat text } }

Or if you only want it to work on a specific network you could do:

OnEvent if ($event == NICK) { if ($network == NETWORKHERE && $nick == $me) { .eat text } }

Or both:

OnEvent if ($event == NICK) { if ($network == NETWORKHERE && $nick == NICKHERE || $nick == OTHERNICKHERE) { .eat text } }