I just put what he wanted. He could use something like:

if ($chan != $active) { join -n $chan }
else { join $chan }


Invision Support
#Invision on irc.irchighway.net