mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 53
Z
Zonk Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
I think, it would be nice if $* actually worked in another identifier...
I tried
//tokenize 44 1,2,3,4,5,6,7,8,9 | echo $address($me,$*)
and it didnt give me the result that i wanted...

not that important, just a suggestion

greetz Zonk

Joined: Dec 2002
Posts: 230
G
Fjord artisan
Offline
Fjord artisan
G
Joined: Dec 2002
Posts: 230
yup, that would be nice

Joined: Aug 2004
Posts: 147
N
Vogon poet
Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
Code:
tokenize 44 1,2,3,4,5,6,7,8,9 | echo $address($me,$*)

into
Code:
tokenize 44 1,2,3,4,5,6,7,8,9 | myalias $me $*
alias myalias echo $address($1,$2)

Joined: Jan 2003
Posts: 53
Z
Zonk Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
I know it does work that way, though thats not what im criticising, its a useless/ineffective workaround, cuz that could be prolly changed very easily, at least i hope so...

Joined: Aug 2004
Posts: 147
N
Vogon poet
Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
From what I've been told, its only ment to work with commands, it's its intended purpose.

Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Even if that is true (how can you possibly know the intended purpose of an undocumented identifier?), then please note that this was posted as a feature suggestion, not as a bug report. And IMHO a very nice feature suggestion at that. smile


Saturn, QuakeNet staff
Joined: Jan 2003
Posts: 53
Z
Zonk Offline OP
Babel fish
OP Offline
Babel fish
Z
Joined: Jan 2003
Posts: 53
so $true smile

Joined: Aug 2004
Posts: 147
N
Vogon poet
Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
actually you can do
Code:
tokenize 32 a s d f
scon -r echo -a $!asc( $* )

it tricks mIRC to evaluate the idendifer as a command

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
That's potentially a very dangerous thing to do if since the contents of each $n will be evaluated again.

eg.
Code:
tokenize 32 $!findfile(c:\,*,0,1,$+(echo,$chr(32),-a,$chr(32),I,$chr(32),could've,$chr(32),just,$chr(32),deleted,$chr(32),$!1-))
scon -r echo -a $asc( $* )


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

Link Copied to Clipboard