Ok, I got this little script here, all it's supposed to do is find all tokens named "Flame" and "Flame2" and move them to the back of the layer, so they're behind the tokens, as soon as the GM types !flame in chat. Well actually it's supposed to do more once it's finished, but for now that's where it stops doing what it does, so I come here for help. Well, yes it doesn't work. At most it seems to move a single token to the back, probably the last one called, but I'm not sure about that. I tried delaying it or something, to give each token a little time to move to the back before moving on to the next, but somehow that didn't seem to delay anything, so I think I did that wrong. <a href="https://gist.github.com/Quatar/8983b75c01f61e60894d" rel="nofollow">https://gist.github.com/Quatar/8983b75c01f61e60894d</a>