alias switchy { dialog -m switchy switchy }
dialog switchy {
title "Switchy"
size -1 -1 69 311
option dbu
icon C:\b00m`v1.0\graphics\a.ico, 0
edit "", 2, 1 57 57 10
button "Join", 4, 2 68 25 12
button "Part", 5, 32 68 26 12
box "", 6, 0 49 60 33
box "Chan:", 7, 0 43 60 10, disable
box "Auth:", 10, 0 83 60 10, disable
box "", 17, 0 89 60 39
box "Server:", 18, 0 3 50 10
edit "", 19, 1 14 47 10
box "", 20, 0 9 50 33
button "Connect", 21, 6 27 37 12
box "", 22, 4 22 41 19
edit "", 23, 1 94 50 10
edit "", 24, 1 105 50 10
button "Login", 25, 13 116 25 10
box "Modes:", 26, 0 129 63 10, disable
box "", 27, 0 135 60 77
box "Others:", 28, 0 213 60 10, disable
box "", 29, 0 219 60 50
text "© Sh4d0w.", 30, 1 282 33 8, disable
}
On *:Dialog:switchy:*:*: {
if ($devent == sclick) {
if ($did == 21) server -m $$did($dname,19)
}
}