This is my first dialog, so cut me a break please ^_^ I learned how to use dialogs in an afternoon, I decided to make something simple, so I made this little joker, a small NickServ tutorial,(it works, I registered the nick "sucka" with it :P) but if there is a glitch please notify me and I will try to fix it :) to activate it just right click on the channel menu :) || that cup guess snippet was what inspired me to.. learn in an afternoon :)
menu channel {
Nick Serv Tutorial
.NST Dialog: { dialog -m NST NST }
-
}
dialog NST {
title "NickServ Tutorial by: Shinypants"
size -l -l -1 -1
option dbu
menu "file", 2
item "quit", 3, cancel
item "open", 4
tab "Nick", 5, 5 5 100 90
tab "Register", 6, 5 5 100 90
tab "Identify", 7, 5 5 100 90
edit "NickName", 8, 8 40 85 10, tab 5
edit "Password", 9, 8 40 80 10, tab 6
edit "E-mail", 10, 8 50 80 10, tab 6
edit "Password", 11, 8 40 80 10, tab 7
button "Work it", 12, 25 70 20 20, tab 5
button "Work it", 13, 25 70 20 20, tab 6
button "Work it", 14, 25 70 20 20, tab 7
button "Later", 15, 45 70 20 20, tab 5, ok
button "Later", 16, 45 70 20 20, tab 6, ok
button "Later", 17, 45 70 20 20, tab 7, ok
}
on *:dialog:NST:sclick:12: {
/nick $did(NST,8)
}
on *:dialog:NST:sclick:13: {
/ns register $did(NST,9) $did(NST,10)
}
on *:dialog:NST:sclick:14: {
/ns identify $did(NST,11)
}