mIRC Home    About    Download    Register    News    Help

Print Thread
Eval Brackets #66490 04/01/04 03:49 AM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Ive set a variable like % $+ $nick $+ .otimes and i know to retrive it I need to use eval brackets but the only examples i can find are for one one word variables like % [ $+ [ $nick ] ]


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv
Re: Eval Brackets #66491 04/01/04 07:45 AM
Joined: Dec 2003
Posts: 9
T
Terrywin Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
T
Joined: Dec 2003
Posts: 9
You need to set your variables using the evaluation brackets as well:

Code:
set % [ $+ [ $nick ] $+ .otimes ] whatever



Re: Eval Brackets #66492 04/01/04 08:32 AM
Joined: Dec 2003
Posts: 33
M
Man Offline
Ameglian cow
Offline
Ameglian cow
M
Joined: Dec 2003
Posts: 33
$(% $+ %nick $+ .otimes,2)
or
$eval(% $+ $nick $+ .otimes,2)

That will do the trick, and takes less space than evaluation brackets

Re: Eval Brackets #66493 04/01/04 08:33 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
but evaluation brakets look much cooler! <grin>

Re: Eval Brackets #66494 04/01/04 11:29 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
No, you don't.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Eval Brackets #66495 04/01/04 11:57 AM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
$($+(%,%nick,.otimes),2)

MUCH COOLER


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: Eval Brackets #66496 04/01/04 04:29 PM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Response to all:
Thank you im dumb lol!


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv