Anonymous
public text v1 · immutabledialog mydialogue {
title "A simple dialogue"
size -1 -1 450 166
option pixels
button "YES", 101, 50 110 150 50, ok
button "NO", 102, 250 110 150 50, cancel
}
on *:dialog:mydialogue*:*:*:{
if ($devent == init) {
if ($devent == ok) {
if ($did == 101) { .msg #channel say something cool }
if ($did == 102) { halt }
halt
}
}
}