mIRC Home    About    Download    Register    News    Help

Print Thread
#24985 19/05/03 12:41 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
i want that will be that identifier that will return the $Nth in the alias without evalute it first (it is not the same as $eval(text,0))
for example:
alias test { return $neval($1) }
//echo -a $test(%a)
will return "%a"

#24986 19/05/03 01:18 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
im gonna go out on limb here and guess english isnt a first second or third language for u

as per your suggestion ...... your looking for a no eval command identifier is that what ur saying?


D3m0nnet.com
#24987 19/05/03 01:23 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
yes i know my english is sux
the identfier is not really "non eval" becuz non eval is: $eval(text,0)
i want an identifier that will return $Nth value that called from the alias without evalute it first

Last edited by ScatMan; 19/05/03 01:25 AM.
#24988 19/05/03 02:07 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Why not just use $test($eval(%a,0)) ?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#24989 19/05/03 02:35 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
i don't want like that, i want it to work for example like $regsub(text,re,newtext,%VAR) so it know that the result will store in %var
so i'm suggest to make an $neval identifier or someting for this..
your way is good too but it will be better with this new identifier..


#24990 19/05/03 07:01 AM
Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
I think your goign to run into trouble with that one, coz i'm reasonably sure text is parsed THEN passed to an alias, so doing what you wnat might be beyond mIRC... i could be wrong.

I, however, agree we could use a way to "escape" characters/etc

#24991 19/05/03 07:25 AM
Joined: May 2003
Posts: 22
A
Ameglian cow
Offline
Ameglian cow
A
Joined: May 2003
Posts: 22
$+(%,var) evaluates to %var
$!me evaluates to $me

You should be able to figure out why and how to use this.

as for the $neval(..) suggestion ... it won't really work as mIRC will evaluate the PARAMETERs before sending them to the identifier ...



--------------------------------------------------
I really don't know anything.... I just fake it

Link Copied to Clipboard