Public paste
Undefined
By: lolieboillie | Date: Dec 3 2006 13:01 | Format: None | Expires: never | Size: 430 B | Hits: 1435

  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.       }
  11.       inc %i
  12.     }
  13.   }
  14.