rendered paste bodyalias lvl /dialog -ma test caz
dialog caz {
title "test"
size -1 -1 132 66
option dbu
text "caz's dialog box", 2, 48 0 38 8, nowrap
button "cancel", 5, 91 50 37 12, default cancel
button "ok", 6, 5 52 37 12, default ok
edit "", 7, 44 15 50 10, limit 5 autohs %lvlresult
icon 8, 1 -4 129 67, C:\Program Files\mIRC\caz's access\background.JPG, 1, noborder
edit "", 10, 43 42 50 10, limit 12 autohs %nickresult
menu "add access", 4
menu "delete access", 3
}
on 1:dialog:test:sclick:3:{ /dialog -md test delete access }
on 1:dialog:test:close:0:{ if (%nickresult != $null) /msg chanserv access #renegade add %nickresult %lvlresult | /timer 1 10 /unset %nickresult | /unset %lvlresult }
dialog delete access {
title "test"
size -1 -1 132 66
option dbu
icon C:\Program Files\mIRC\caz's access\background.JPG, 1, noborder
button "ok", 2, 5 50 37 12, ok
button "cancel", 3, 84 49 37 12, cancel
edit "", 4, 36 21 50 10
text "insert nick to delete here", 5, 32 7 64 8
}