dialog test {
title "mIRC Dialog"
size -1 -1 70 75
option dbu
button "Register ...", 1, 10 10 50 24
button "Cancel ...", 2, 10 40 50 24, cancel
}
On *:Dialog:test:sclick:1:{
echo /msg nick register $$?="Whats ur email"
}
Syntax: /dialog -m test test
Note, dont forget to remove the 'echo' part, after you test it/ect.
Eamonn.