alias check {
if (%chanlimiton == on && $nick($1) < %chanlimit) { part $1 You need more than %chanlimit users to keep $me in your channel. | msg #godbot-admin Parted $1 due to them having less thank %chanlimit users. | halt }
if (bot isin $1 || b0t isin $1) { halt }
if ($1) {
var %i = 1
goto next
:next
if (!$nick($1,%i)) { halt }
if ($nick($1,%i) == $me) { inc %i | goto next }
if (godbot isin $nick($1,%i) && $nick($1,%i) ison #godbot && $nick($1,%i) ishop #godbot) {
part $1 Sorry it seems you already have one godbot, if this is false please join #Godbot and talk to an (@)Op.
msg #Godbot-admin Parted $1 already had $nick($1,%i) $+ .
msg #godbot.invite !cload $chan(0)
halt
}
inc %i
goto next
}
}