alias antiBan {
  set %stardust $dialog(antiBan)
  if (%stardust) unset %stardust
  else dialog -m antiBan antiBan
}

dialog antiban {
  title "Anakin Antiban by eMarco"
  size -1 -1 263 320
  box "Anti Kick/Ban/Deop", 1, 11 52 240 224
  box "", 25, 11 -2 240 50
  button "OK", 6, 11 289 64 24, ok
  text "P r o t e z i o n i " 22, 70 15 239 54
  button "Chiudi", 8, 91 289 64 24, cancel
  box "Punizione", 9, 23 200 216 64
  radio "Kick", 10, 33 221 40 13
  radio "Deop", 11, 33 241 44 13
  check "Attiva per", 7, 33 73 68 13
  radio "Kick/Ban", 12, 97 221 64 13
  radio "Ban/Kick", 13, 97 241 60 13
  edit "", 14, 168 240 42 20, multi return center
  text "sec", 15, 217 241 19 13
  box "Avviso", 16, 25 104 216 48
  check "Unbanna Me", 17, 153 169 80 13
  text "Solo per ChanServ", 18, 33 169 100 13
  check "Avvisami sul canale del BAN", 19, 33 126 152 13
  check "Kick", 21, 105 73 40 18, push
  check "Ban", 23, 145 73 40 18, push
  check "Deop", 24, 185 73 48 18, push
}
