Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Filter Kick

Recommended Posts

  • Administrators
Description: Removes all users matching specified mask

 

 

 

>Usage: /fkick [reason] ;If a host is specified, it will cycle through the host given and kick ban all users who match that host. ;Example: /fkick *!*Flame@* ;That will filter all addresses from the channel if their host matches *!*Flame@* If the user is specified, it will cycle through the users address ($address($nick,2) or $mask(*!*@host.net,2)) ;Example: /fkick iCedFirE ;That will kick ban the user iCedFirE, and all matching host to the users address (used for clone removal). :Enjoy! =P Put the following in remotes(ALT+R): alias fkick { if ($1-) { if ($left($1,1) == $chr(42)) { var %x = 1 | while ($ialchan($$1,$chan,%x)) { if ($ialchan($$1,$chan,%x).nick != $me) { mode $chan +b $$1 | kick $chan $ialchan($$1,$chan,%x).nick Filtered ( $+ $1 $+ ) $iif($2-,-) $2- } | inc %x } } else { if ($1 ison $chan) { var %t = $address($1,2), %x = 1 | while ($ialchan(%t,$chan,%x)) { if ($ialchan(%t,$chan,%x).nick != $me) { mode $chan +b %t | kick $chan $ialchan(%t,$chan,%x).nick Filtered ( $+ %t $+ ) $iif($2-,-) $2- } | inc %x } } } } else { echo -a *** Usage: /fkick [reason] } } =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ; Copyright © 2001 for iCedFirE. All rights reserved. ; =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 

Link to comment
Share on other sites



×
×
  • Create New...