This script automatically removes status effect markers from a token when their turn comes up using the Turn Tracker. I mostly use it to track things like Reaction in 5e D&D. When a combatant uses their Reaction for the round, I enable a green status effect marker for that token. It then gets removed at the beginning of that token's turn. I included green and purple in the code so non-coders could more easily see how to add a marker. Enjoy! //Currently this script will remove any green or purple status marker when a //combatant's turn comes up using the Turn Tracker. //Add or remove any status effects you want to be cleared to the array (list) below. var statusMarkersToBeRemoved = [ "status_green", "status_purple", ] on('change:campaign:turnorder', function(obj) { var c = Campaign(); var pre_turnorder = c.get('turnorder'); var turn_order; if (!pre_turnorder) { return; } try { turn_order = JSON.parse(c.get('turnorder')); } catch (e) { log(e); return; } if (!turn_order.length) { return; } var turn = turn_order.shift(); var currentToken = getObj('graphic', turn.id); statusMarkersToBeRemoved.forEach(function(opts) { if (currentToken.get(opts)) { currentToken.set (opts,false); } }) });