There are additional error handling abilities in mIRC...

Add something like this to the end of all the aliases and events you want to debug... Then script a DEBUG signal to handle the errors... Or write your own script that uses :error, $error, and /reseterror. (See: /help $error)

Code:
goto end
:error
.signal -n DEBUG $+($script, $chr(160), $scriptline, $chr(160), $error, $chr(160), $1-)
:end 


You could also write a script that universially monitors all primary events, or you could extract the one I wrote for mJavaIRC.

Although it would probably never happen, my only debug suggestion would be an internal mIRC ability to take an mIRC script and construct a flow chart from the source. Also the ability to use /throwerror to generate an error that propogrates back to the calling aliases. wink


NaquadaBomb
www.mirc-dll.com