Ok I have a problem that maybe somebody could give me an idea or 2 on.
I currently have an array that is being used to keep 2 different sets of data in.
$a(1,X) is a list of player names
$a(2,X) is a list of text commands, like cast, move
$a(3,X) is a list of spell names
$a(4,X) is a list of targets
If a player send me a tell my script first checks he is on the listy of player in $a(1,X) if he is the tell is parsed for certain command strings.
a string may look like this
cast sow me
so my script then adds cast to $a(2.X) expands sow to "Spirit of Wolf" and adds it to $a(3,X) and expands me to the players name and get his id and adds that to $a(4X)
This all happend in the chat event sub.
My main loop checks the command queue and casts the top one, removed it from the list and then moves the others up one.
But the is very messy since i need to maintain the integrity of $a(1,X) Any ideas on a better way of maintinf seperate lists or am i gonna have to ask plaz for another array variable.
Fippy

