With the script editor open (not as desktop, not on top) following the series of steps below always makes the $input dialog fails to set the dialog as the parent window, this allows for a lot a script error/bugs when you're not supposed to be able to access the dialog until the $input is closed.

1) open script editor and /dialog -m test test
2) click in a channel window
3) click in scripts editor
4) click the dialog's button
5) check that you cannot access the dialog without dealing with $input first

dialog test {
size -1 -1 200 200
button "$input(,u,)",1,50 50 100 20
}
on *:dialog:test:sclick:1:noop $input(a,u,b)


It doesn't happen 100% of the time but almost 100%.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel