dialog mBug {
title "mIRC did bug"
option dbu
size -1 -1 100 100
button "Bug", 500, 40 40 20 20 // ID is 500 but could be 1
}
ON *:DIALOG:mBug:sclick:*: {
if ($did == 500) {
echo -ac info * did before input: $did
noop $input(Bug?,y)
echo -ac info * did after input: $did
}
}