Quote Originally Posted by John View Post
Using array elements and their indexes in a certain variable is a bad idea, because, let's say you add something in the beginning of the array, this will completely change the values set for the others.
For example:
Let's say you have 1 is exit, 2 is staff stick
Then you add staff boomerang as 1, what will happen is: 1 is staff boomerang, 2 is exit, 3 is staff stick.
And once triggering the server, it will trigger 1, this means it will call the first parameter which is exit (unless you rechange all variables on serverside everytime you add something).
It's a bit messed up, it's just easier to use array elements and not indexes.
Ah, I see what you mean.

Quote Originally Posted by callimuc View Post
also its easier when editing the script later on if you are sending a "proper string" like the name of the current tool's function you are about to use as anyone will see right away which tool is being used right now. that way they dont need to figure out the numbers etc
It already does that