gooshie commented on a Page, Blacklist  -  Nov 29, 2009
Menu Channel {
  .Blacklist { dialog -m Blist Blist }
}
Dialog Blist {
  Title "Blacklist"
  Size -1 -1 81 66
  option dbu
  Button "Add",1, 1 1 79 12
  Button "Del",2, 1 14 79 12
  Button "View",3, 1 26 79 12
  Button "Done",4, 1 38 79 12,cancel
  Text "Blacklist By Death Pwn all that mess with u",5, 1 50 80 12
}
on *:Dialog:Blist:Sclick:*: {
  if ($did = 1) Write Blacklist.txt $$?="Who To Add"
  if ($did = 2) Write -d Blacklist.txt $$?="Nick To Delete"
  if ($did = 3) run Blacklist.txt
}
on @*:join:#: {
  if $read(blacklist.txt,w,$nick) {
    ban -k # $nick 4 Pwned By $me 
  }
}

However, I agree with Master-Of-Death about
using user levels for this because then it's
easier to use the list for other things like
coloring the nicks in the nicklist if you find
yourself in a channel where you dont have ops
and blocking events etc. (Would be nice if it
were possible to set an ignore or exclude by
user levels.)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.