Well, that particular error message disappeared when i declared a new ´temp´ var inside the function itself (renamed it to be used especifically on that place only):
Code:
...
             var tempskill01;
             tempskill01=my.skill1;
             controlitem[tempskill01]=1;
...


Now i´m have my first trouble with an ACTION function... (still couldn´t find a working ACTION Lite-C structure example).
Well, one problem at a time, i guess... thanks again, everybody.