Public paste
Undefined
By: lol | Date: Dec 3 2006 13:02 | Format: None | Expires: never | Size: 426 B | Hits: 1567

  1. on *:TEXT:$($me $+ *):#:{
  2.   if ($readini(userlist.ini,global,$address($nick,2)) == owner) {
  3.     if ($2 == globalban) {
  4.       writeini blacklist.ini global $address($3,2) banned
  5.       notice $nick done added $3 $address($3,2) to my blacklist
  6.       var %i = 1
  7.       while (%i <= $chan(0)) {
  8.         mode $chan(%i) +b $address($3,2)
  9.         kick $chan(%i) $3 You have been global banned
  10.       inc %i
  11.     }
  12.   }
  13. }
  14.  
  15.