My code can be explained like that
Global list = "1,2,4,6";
for(count= 0 to tokencount(list,","),count++){
foreach(sprite in game){
if(sprite.index==tokenat(list,loopindex,",")){
sprite.destroy();
}
}
}
My expectation is at least some of sprites must be destroyed. Actually nothing.
Could some one let me know why.
Thank to much in advance..