on *:JOIN:#: { if ($chan == #mirc) { halt } elseif ($nick == Mythbuster) { /msg $chan Hey people Mythbuster has just joined $chan $+ ! } else { /msg $chan Welcome $nick in this channel! } }