mIRC Home    About    Download    Register    News    Help

Print Thread
#97883 18/09/04 02:02 PM
Joined: Aug 2004
Posts: 5
N
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Aug 2004
Posts: 5
Hello,

I was wondering if mIRC supports arrays. I need a command which will allow a user to append some data to an array. I tried using vars but no luck, since they can only hold one value at a time.

Thanks,
-Neverrain

#97884 18/09/04 05:54 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Please use the search feature before asking a question. Arrays are the topic of many-a discussion on these forums. A working array script can be found here


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#97885 18/09/04 10:28 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
mIRC doesnt support Arrays, however if you require a 2-dimensional array then Hash tables should suffice, without using the script above.

Since it is pretty much, useless as all it does is redirect single commands to another 'alias'.

Hash tables hold data in the format;

item data,
item data,
ect.

/help hash tables

Eamonn.


Link Copied to Clipboard