mIRC Home    About    Download    Register    News    Help

Print Thread
Tracing rogue commands #62608 02/12/03 11:32 AM
Joined: Dec 2003
Posts: 3
L
Lewster32 Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Dec 2003
Posts: 3
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?

Re: Tracing rogue commands #62609 02/12/03 12:31 PM
Joined: Jan 2003
Posts: 148
K
Knappen Offline
Vogon poet
Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
/help $scriptdir
/help $scriptline

Re: Tracing rogue commands #62610 02/12/03 02:24 PM
Joined: Dec 2003
Posts: 3
L
Lewster32 Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Dec 2003
Posts: 3
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.


Re: Tracing rogue commands #62611 04/12/03 01:01 PM
Joined: Dec 2003
Posts: 3
L
Lewster32 Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Dec 2003
Posts: 3
Is there no way of doing this then? It seems pretty bizarre for mIRC to be missing such a vital debugging featue frown