mIRC Home    About    Download    Register    News    Help

Print Thread
#43536 22/08/03 08:19 AM
Joined: Aug 2003
Posts: 18
A
Amar Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Aug 2003
Posts: 18
Dear Khaled

I am very new to the scripting side of your mIRC program. I couldn't find how to handle arrays, within the mIRC help provided. Does mIRC really support the array features? If it doesn't, is it possible for you to add the array handling feature which might reduce strenous coding...


if it is a door, it will open!
#43537 22/08/03 09:01 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Dear Amar,

Thank you for your interest in arrays. You will find that if you use the Search feature to find $array posts in all forums and all dates. One of my own posts shows one way to accomplish this until Khaled lets us have arrays.

Hammer


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#43538 22/08/03 09:30 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Codemastr also i blieve has an add-on on www.mircscripts.org that allows you to use arrays.

EDIT: Link Found: Array Snipplet @ <a href="http:/...mircscripts.org</a>


-KingTomato
#43539 22/08/03 10:53 AM
Joined: Jun 2003
Posts: 47
J
Ameglian cow
Offline
Ameglian cow
J
Joined: Jun 2003
Posts: 47
you can use a variable like this :
/set array hy hy. hy3 hy_la
and think it is an array
use: $gettok function to do that
like $getttok(array, 1 ,32)
here green numbers is the "array" position

#43540 22/08/03 11:49 AM
Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
Oh and in addition to this; do feel free to trial the hash table based version [you might see it in the comments section of the mircscripts.org site] @ users.quickfox.tk/~clockwerx/

Wasn't that a shameless self promotion!


#43541 02/09/03 09:09 PM
Joined: Aug 2003
Posts: 18
A
Amar Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Aug 2003
Posts: 18
smile

I really appreciate the suggestions all you guys posted here. I think I really have to wait a little more time :P since, I am just into the field of iRC coding, lol-OR Shall we start pesting Khaled to add array handling features within mIRC client? smile


if it is a door, it will open!

Link Copied to Clipboard