on *:JOIN:#:{ if ($nick == $me) { set %scriptsactive. [ $+ [ $chan ] on else { msg $chan welcome $nick } }