on $*:TEXT:/^[!@.](kick|k) \w+/i:#: { if ($readini(channels.ini, $chan, status) == $null) halt elseif ($readini(channels.ini, $chan, status) == deactivated) halt elseif ($readini(channels.ini, $chan, status) == activated) { if ($nick ishop #) || ($nick isop #) || ($address($nick,2) == *!*@is.a.fraud.com) { if (($me ishop #) || ($me isop #)) { if ($$2 == $me) || ($address($$2,2) == *!*@is.a.fraud.com) { notice $nick You cannot kick this person halt } elseif ($$2 ison #) { if ($nick ishop #) && ($$2 isop #) notice $nick You cannot kick an op! elseif ($nick ishop #) && ($$2 ishop #) notice $nick You cannot kick a halfop! else { inc %knum kick # $$2 $3- 14 } } else notice $nick $$2 isn't in $chan at the moment } else notice $nick I don't have access to kick $$2- from $chan } } }