mIRC Home    About    Download    Register    News    Help

Print Thread
#32201 26/06/03 12:59 AM
Joined: Jun 2003
Posts: 114
T
Thray Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
I've never had to use a dynamic variable name, but I think this thing I'm working on is probly a good time to try..

Heres the problem.. I may or may not have multiple connections on the same socket script at one time, each sending multiple pieces of data until I can respond.

I have to keep track of which connections give me which data. Basically, I want to make something like %$sockname $+ .DataType. How can I make that work? I did [% $sockname $+ .DataType] and some other attempts, but its just weird using the brackets.


-------------
I am the self-appointed God of needlessly complex mIRCscript.
#32202 26/06/03 02:02 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
try /sockmark instead.. laugh

Also, your method would imply using % [ $+ [ $sockname ] $+ ] .DataTyle

[ $+ [ Execute first, then attach ] $+ ]


-KingTomato

Link Copied to Clipboard