GroupInitiative can do that for you with: !group-init --clear If you want just a simple one-off, this should work: on('ready',()=>{
on('chat:message',(msg)=>{
if('api'===msg.type && /!clear\b/i.test(msg.content) && playerIsGM(msg.playerid)){
Campaign().set('turnorder','[]');
}
}); }); With the command: !clear