mahahahah arrays already exist
/set -s %array[1,2,3] blah
* Set %array[1,2,3] to blah
Now the hard part is getting the value back if using index variables, in the time i tried i couldnt do it
//set %var $+(%,array[,%i,$chr(44),%j,$chr(44),%k,])
//echo -a 1. $eval(%var,2) : 2. $($+(%,array[,%i,$chr(44),%j,$chr(44),%k,]),2) : 3. %array[1,2,3]
1. : 2. : 3. blah
only seems to come back if you hardcode the var name
eval doesnt like variables with commas in
hoohoo enough mucking around, time to do some paying work.