mIRC Home    About    Download    Register    News    Help

Print Thread
#92994 06/08/04 06:46 AM
Joined: Jul 2004
Posts: 21
X
xhine Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jul 2004
Posts: 21
Hey,
i was trying to do the following and it didnt seem to work:
i tried to set a variable like this in a on *:TEXT: script
set $chr(37) $+ $nick some info here...

it worked fine, but i cant retrieve the info using the same syntax. I tried this to get info from it, but it didnt work:
$gettok($chr(37) $+ $nick,1,32)

any ideas?

$chr(37) is % :tongue:

Last edited by xhine; 06/08/04 06:47 AM.
#92995 06/08/04 06:52 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
To set it.
set % $+ $nick value
set $+(%,$nick) value

To read it.
% [ $+ [ $nick ] ]
$eval($+(%,$nick),2)

#92996 07/08/04 06:31 PM
Joined: Jul 2004
Posts: 21
X
xhine Offline OP
Ameglian cow
OP Offline
Ameglian cow
X
Joined: Jul 2004
Posts: 21
ahh, thank you very much!
laugh


Link Copied to Clipboard