You need to have ScriptCard loaded in order to use this. Make a macro and set it to be visible when a token is selected. Go to the page your party is on, ensure that all of the party and monster tokens are on that page, layer doesn't matter. Select one token, any token, it doesn't matter. Just select one token. Boom. Turn Tracker is cleared. If the Turn Tracker isn't open, it gets open. Every token gets given a random number for turn order. Turn order is sorted nicely. Next turn, select the same or a different token. Click on the macro. Boom Enjoy! !script {{
--#title|Initiative Turn Order
--#hidecard|1
--~Count|array;pagetokens;Tokens;@{selected|token_id}
--=Iterations|[&Count] * 3
--%Shuffle|0;[$Iterations]
--=A|1d[&Count]
--=B|1d[&Count]
--=A|[$A] - 1
--=B|[$B] - 1
--~|array;setindex;Tokens;[$A]
--~ValueA|array;getcurrent;Tokens
--~|array;setindex;Tokens;[$B]
--~ValueB|array;getcurrent;Tokens
--~|array;setindex;Tokens;[$A]
--~|array;setatindex;Tokens;[$A];[&ValueB]
--~|array;setindex;Tokens;[$B]
--~|array;setatindex;Tokens;[$B];[&ValueA]
--%|
--~|turnorder;clear
--!campaign:root|initiativepage:true
--~Token|array;getfirst;Tokens
--=Index|0
--:AddToTurnOrder|
--=Initiative|[$Index] + 5
--~|turnorder;addtoken;[&Token];[$Initiative]
--=Index|[$Index] + 1
--~Token|array;getnext;Tokens
--?[&Token] -ne "ArrayError"|AddToTurnOrder
--~|turnorder;sort
}}