alias protection dialog -m protection protection
dialog Protection {
title "Protections"
size -1 -1 200 100
option dbu
text "Kick Protection", 801, 0 0 100 8, center
Text "Other Protection", 802, 100 0 100 8, center
button "Kick Protection", 911, 10 20 60 10
button "Clear Enemy List", 912, 10 30 60 10
button "On Join Ban", 913, 10 40 60 10
button "Banlocked", 914, 10 50 60 10
button "Ban Protection", 915, 10 60 60 10
button $IALcheck , 921, 110 20 60 10
button $IALcheck2 , 922, 110 30 60 10
button "User Protection", 923, 110 40 60 10
button "Channel Mode Protection", 924, 110 50 60 10
button "Set Kick Msg", 925, 110 60 60 10
}
alias IALcheck return $iif($active ischan, IAL state for $chr(35) ,Not A Chan)
alias IALcheck2 return $iif($chan(#).ial == $true,All addresses OK,Address Check Failure)