mIRC Home    About    Download    Register    News    Help

Print Thread
#87195 17/06/04 10:43 AM
Joined: May 2004
Posts: 95
W
wiebe Offline OP
Babel fish
OP Offline
Babel fish
W
Joined: May 2004
Posts: 95
.!command after an if or elseif on the same line doesnt do the default command, but sends to the server

Code:
alias test { if (a == a) { .!echo -a test } }


sends !echo -a test to the server

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
A bizarre bug. The command will work correctly inside a if/elseif/else/$iif() if you use !.command instead of .!command. The bug only occurs if command is on the same line as the if/elseif/else/$iif(), and it doesn't occur within $iif() if it's part of a timer, scon, or scid command.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard