on *:INVITE:#:{ .join $chan | .set %nick $nick } raw 353:*:{ var %a 1 while (%a <= $numtok($4-,32)) { if (($gettok($4-,%a,32) == %nick) || (($right($gettok($4-,%a,32),-1) == %nick) && ($left($gettok($4-,%a,32),1) == +)) || ($left($gettok($4-,%a,32),-1) == %)) { .part $3 Invited by non-op $gettok($4-,%a,32) $+ . | halt } else { inc %a 1 } } }