$IsBot()
public text v1 · immutablealias gb {
if (!$1) {
echo -a 02 */GB Insufficient Parameters\* Ex. /GB <nick> [MaskType 1-5] <comment>
halt
}
else {
Var %i = $chan(0), %bantype = $iif($2 isnum,$2,3)
WHILE (%i) {
if (($me isop $chan(%i)) || ($me ishop $chan(%i))) {
msg $chan(%i) 4Global:12 Banning $1 ( $+ $address($1,%bantype) $+ ) in all channels in which I have the power to do so. Reason: $+ 4 $iif($2 !isnum,$2-,$3-)
mode $chan(%i) +b $address($1,%bantype)
}
Dec %i
}
}
}