I made mine simply count every diagonal as 1.5. That's the same as 1 then 2. So at the very end you just need a little code to figure out if they have a .5 left or not. Or you can count diagonals like you were doing. I need to add some code to make it work when there is no grid and when the scale is different (so the bubble text is still put the correct amount of pixels above and to the right of a token), but thats not hard. Since we can't create tokens it does make it harder, but I've got it so you just add three tokens and one text. Set their names and the text colour to predefined names and colour and the script finds everything. Then when you want it to work on another page you simply copy those four items to another page and they work without any setup. I like that when you aren't tracking everything hides itself off the map so its not in the way. I'll PM you mine if you like, I'd love for someone to give it some tests if they had time. Not ready to put it public just yet since its part of a collection of commands I'm working on (movement tracker, timer, no rotate, no move, noresize, auto defaults, timestamp, and logging to the chat window). Basically I need to document everything since there are lots of options for each command. :( I'm just a hobby programmer, don't do it for work, although I am in the computer business as a consultant and have always played with programming. Hey if you had time to help me with a problem I'm having I'd love to explain it to you, it involves trig and programming. :) I'm wanting to do some carwars scripts for doing maneuvers automatically. I've got straight forward at any angle and sideways at any angle, but I'm having trouble with rotating around a corner. I can explain why in more detail via a PM if you like. I'm sure I'll get it figured out in time, but I don't have time right now so I've put it aside since I hit a wall with it a while ago. It could be useful for other games as well since most wargames need rotating at the corners and not at the centre which Roll20 does. There are some other reasons why its hard to figure out mainly because of the way Roll20 defines the x,y and the angle. Anyways, back to work!