on *:join:#:{ if ($nick == $me) { if ($nick($chan,0) <= 5) { msg $chan You need 5 users in $chan for $me } } }