Here's a script that sorts all entries on the Turn Tracker into a random order on the command !neworder. It can be used for any game that chooses initiative or turn order randomly. You can embed it into a macro, say for Hillfolk, as follows: /em sets a new precedence order !neworder This is my first script and foray into javascript, so any advice would be very welcome. <a href="https://gist.github.com/GrahamBrand/7283046/cc8b41883317d2778ea53e2bbaa273247205f539" rel="nofollow">https://gist.github.com/GrahamBrand/7283046/cc8b41883317d2778ea53e2bbaa273247205f539</a>