/set %array[0][0] could be used to create an array but you wouldn't be able to do anything with it without first having something to parse it with
Quote
while our <N> value would ordinarily pass through a hash function to yield an integer
keys do not have to be integers as in associative arrays where the key can also be a string, however, in mIRC there is no difference between (int)1 and "1" because as you said, there is only one data type so any extra processing of the key value would have to be handled by mIRC and not by the coder
and even though it wouldn't offer much scripting wise, it would still benefit by acting as a starter for more powerful languages like C/C++ which understanding arrays is quite important
@jaytea for multi-dimensional arrays i could see how using variables would be "better" but for basic one dimensional arrays i don't see why you wouldn't use mIRC's built in hash functions which would be faster then variables and wouldn't require this snippet, which in all of his examples this would be the case
regardless actual array support would be something i'd like to see in mirc
edit: this snippet doesn't support multi-dimensional arrays, atleast not that i see from reading the code
_Teen_ the purpose of this snippet was never explained so sayin that its for generating passwords for irc use is simply an assumption, and $r(a,z) will only return values a-z and not numbers
Code
usage: /socket_example www.google.com