mIRC Homepage
Posted By: Lewster32 Tracing rogue commands - 02/12/03 11:32 AM
Hi, I've been trying to work out a way of finding where commands from scripts are located (i.e. which script, which line) as the default 'Unknown command' is vague at the best of times smile

Eg. I have a script trying to execute ( as a command, but I don't know which one (I have a lot of scripts), and my friend has a similar problem with another command.

Is there any way of doing this?
Posted By: Knappen Re: Tracing rogue commands - 02/12/03 12:31 PM
/help $scriptdir
/help $scriptline
Posted By: Lewster32 Re: Tracing rogue commands - 02/12/03 02:24 PM
Unfortunately calling these as an alias returns the alias line, not the script line.

Eg.

alias ( { echo -a $script $scriptline }

Returns the line in aliases.ini, not the script and/or remote that called it.

Posted By: Lewster32 Re: Tracing rogue commands - 04/12/03 01:01 PM
Is there no way of doing this then? It seems pretty bizarre for mIRC to be missing such a vital debugging featue frown
© mIRC Discussion Forums