I am wondering if there is any way to sort through an entity's skills without writing a separate line for each skill. Here is what I have in mind, but I'm certain this will not work in this format. Is there a way to write a script like this?

Quote:

while(my.skill# < 100)
{

//check the number stored in this skill and do something with it

my.skill# += 1;
wait(1);
}


I guess I'm wondering if skills can be used as an array?