mIRC Home    About    Download    Register    News    Help

Print Thread
#94430 16/08/04 12:30 PM
Joined: Dec 2003
Posts: 61
A
Aeron Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
How about a tokens for results?
I mean it in this such way:

If you do $test that returns the text "m I R C" then the text is split in "result"-tokens:
$r0 = 4
$r1 = m
$r2 = I
$r3 = R
$r4 = C

#94431 16/08/04 12:59 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
/help /tokenize


Gone.
#94432 16/08/04 05:31 PM
Joined: Dec 2003
Posts: 61
A
Aeron Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
I know that, my suggestion is thats THAT already done smile

#94433 17/08/04 03:19 PM
Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
[removed everything, misread the $rN as $N identifiers with the problem of overwriting the initial $N identifiers]

To the point reply: i think those $rN identifiers would be too much overhead for the scripting engine in regard to the use that would be made of it... I'm not really against it, and it can have some uses, but imho not enough to have Khaled try and put it in mIRC.

As extra problems: echo $r1 ; $calc(5) $r1 ; $calc( $r1 + $calc(7) + $r1) would echo what?
Would built-in $identifiers also set those $rN identifiers, or just custom aliases, of only built-ins?

Since a custom alias can be used both as an $id and a /command, would those $rN be set always, or just when $isid == $true?


zack: i have no clue what you meant, but since my post didn't make much sence either, it's ok I guess smile

Last edited by Kelder; 17/08/04 05:24 PM.
#94434 17/08/04 05:00 PM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
$1- isn't inherited by other commands/identifiers when it isn't given as a parameter.


You won't like it when I get angry.

Link Copied to Clipboard