in fact, my "valid code" is wrong
i'm agree with your reply except the first, i know all opened bracket are closed, mIRC Editor don't display errors, but their commands will be never executed... The bug isn't of the Editor (like i have say the first time) but the mIRC...
but, you havn't try that i have given:
;(1) WRONG CODE:
on *:dialog:test:sclick:*:if (1) {
echo -a OKK
}
;(2) WRONG CODE 2:
on *:dialog:test:sclick:*:if (1) {
echo -a OKK
} }
;(3) CORRECT CODE:
on *:dialog:test:sclick:*:{ if (1) {
echo -a OKK
} }
;with, by example:
dialog test {
size -1 -1 100 100
button "ok",1,0 0 100 100
}
with the code (1), mIRC don't echo -a OKK, don't return any errors and mIRC Editor say nothing. mIRC don't /echo, this code is wrong, there is a bug.
with the code (2), mIRC don't echo -a OKK, don't return any errors and mIRC Editor say invalid bracket found. mIRC don't /echo, this code is wrong, there is no bug.
with the code (3), mIRC echo -a OKK, don't return any errors and mIRC Editor say nothing. mIRC don't /echo, this code is correct, there is no bug.
If code (1) work, explain why doesn't work with me !!!
No ?