mIRC Home    About    Download    Register    News    Help

Print Thread
#271242 25/01/23 07:03 PM
Joined: Jan 2004
Posts: 2,127
maroon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
In case this is not by design, the /debug command does not know which script it was called from, so the -i alias cannot be seen if it is a local 'alias -l', and preference is given to something of the same name in a script higher on the script list or in the alt+D aliases. After executing /debuglaunch each in/out message intended for @debug window triggers '* No such identifier:'

Code
alias debuglaunch { debug -pio52r44 @debug alias_cannot_be_seen_without_removing_local }
alias -l alias_cannot_be_seen_without_removing_local { returnex $script $caller $time $network $qt($1) }


Joined: Dec 2002
Posts: 5,490
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,490
Thanks, the /debug command has been extended to work with local aliases. As far as I can tell, there shouldn't be any backward compatibility issues with this. This change will be in the next version.


Link Copied to Clipboard