All pastes #552073 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-09 02:41 UTC
rendered paste body
alias blacklist {
  dialog -md blacklist blacklist
}
dialog blacklist { 
  title "Blacklist"
  size -1 -1 92 107
  option dbu
  text "Nick:", 1, 5 15 19 8
  edit "", 2, 30 14 57 10
  text "Delete:", 3, 5 42 18 8
  edit "", 4, 30 40 57 10
  text "Add:", 5, 5 24 15 8
  edit "", 6, 30 24 57 10
  button "Add", 7, 51 56 37 12 disable
  button "Delete", 8, 51 56 37 12 disable
  button "ok", 9, 51 72 37 12, ok
  button "clear", 10, 7 72 37 12
  text "Made by Bubblez6000", 13, 16 89 60 15, center
}
on *:Dialog:blacklist:*:*: {
  if ($devent = sclick) {
    if ($did == 7) && ($did(2) ison $chan)
    .writeini blacklist.ini ADRESSES $address($2,2) $did(2) /ban -ku60 $did(2)
  }
  elseif ($did == 8) {
    .remini blacklist.ini ADRESSES $address($did(2),2)
  }
  elseif ($did == 12) {
    did -r $dname 2,4,6
  }
}