if thats the case, then i now what iv done wrong. i'll tell you if i was in a sec
edit
yep i was wrong, i put 1 where 0 should be.
thanks blizz, game_guy and shdw.
edit
i need a script command that is simulare to this
for i in 1...$data_items.size
but instead of all items from id 1 and above to stand for "i" i want items from 1 - 22 to be "i"