Seen Script Kicker
Written by set

Keep your channel's traffic low and kick/ban users who trigger other user's seen scripts. This could cause bots and scripts to flood the channel with results. This code should catch these users and remove them. The code below goes into mIRC remotes.

on @*:TEXT:*:#:{ if ($nick !isop #) { if ($1 == seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } elseif ($1 == !seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } elseif ($1 == .seen) { kick $chan $nick Do not use $ifmatch here. | ban $chan $nick 2 } } }

The script listens to text on a channel you're op on. If mIRC detects a user attempting to use the seen scripts, we proceed to kick/ban that user. Op's on the channel are exempt according to the script. The entire code is exlained below.

on @*:TEXT:*:#:{ if ($nick !isop #) { ;triggers when someone speaks in a chan and is not opped if ($1 == seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ;checks if the first word spoken was "seen" elseif ($1 == !seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ;checks if the first word spoken was "!seen" elseif ($1 == .seen) { kick # $nick Do not use $ifmatch here. | ban # $nick 2 } ; checks if the first word spoken was ".seen" } }

If you find any errors or have any questions/comments, please contact us via email, memo, or our script forum. Thanks for your time.

2000-2001 ClanX Scripterz Organization