Put this dialog in the remote,
dialog x {
size -1 -1 50 50
icon 3, 10 10 32 32, %icon
}
and type
/set %icon mirc.exeNow, open the dialog once by typing
/dialog -m x x. A dialog will open, showing the mIRC icon at the middle. Close the dialog, and re-open it. This time, you will get an error:
- * /dialog: 'x' error loading icon '0 C:\path\to\mirc.exe'
This is happening because mIRC changes the variable value to "0" (the icon index) followed by the full path of the icon file.
I don't know why it's necessary to modify the variable at all. Anyway, please fix to the next version.
(Credit goes to ATMA for locating the bug

)