mIRC Home    About    Download    Register    News    Help

Print Thread
#153477 17/07/06 06:58 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
is $eval() and $() the same thing now?

//echo $eval($me)
//echo $eval($me,0)
//echo $eval($me,some text)
//echo $eval($me,some text,0)

all return the same as

//echo $($me)
//echo $($me,0)
//echo $($me,some text)
//echo $($me,some text,0)

or does $() do somethign else thats peculiar to it that $eval doesnt?

/me goes to the docs....

btk


billythekid
#153478 17/07/06 07:13 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
nope $() is short for $eval()
smile


$maybe
#153479 17/07/06 07:13 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
the $() is a short version of $eval much like $r is short for $rand
$() is also used in the matchtext section of on text or on input events

on *:text:$($me):#: Echo -s $nick said $me }

on *:text:$($+(*,$me,*)):#: Echo -s $nick said $me }

so on


Link Copied to Clipboard