mIRC Home    About    Download    Register    News    Help

Print Thread
#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
#66491 04/01/04 07:45 AM
Joined: Dec 2003
Posts: 9
T
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



#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

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

#66494 04/01/04 11:29 AM
Joined: Jan 2003
Posts: 2,523
Q
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
#66495 04/01/04 11:57 AM
Joined: Dec 2002
Posts: 774
T
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
#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

Link Copied to Clipboard