mIRC Homepage

Eval Brackets

Posted By: Static

Eval Brackets - 04/01/04 03:49 AM

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 ] ]
Posted By: Terrywin

Re: Eval Brackets - 04/01/04 07:45 AM

You need to set your variables using the evaluation brackets as well:

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


Posted By: Man

Re: Eval Brackets - 04/01/04 08:32 AM

$(% $+ %nick $+ .otimes,2)
or
$eval(% $+ $nick $+ .otimes,2)

That will do the trick, and takes less space than evaluation brackets
Posted By: DaveC

Re: Eval Brackets - 04/01/04 08:33 AM

but evaluation brakets look much cooler! <grin>
Posted By: qwerty

Re: Eval Brackets - 04/01/04 11:29 AM

No, you don't.
Posted By: theRat

Re: Eval Brackets - 04/01/04 11:57 AM

$($+(%,%nick,.otimes),2)

MUCH COOLER
Posted By: Static

Re: Eval Brackets - 04/01/04 04:29 PM

Response to all:
Thank you im dumb lol!
© 2022 mIRC Discussion Forums