#How can I execute a command every 1 second and another every so often?
1 messages · Page 1 of 1 (latest)
I had a script from a long time ago but now it doesn't work anymore
world.events.tick.subscribe((evd) => {
if (evd.currentTick % 20 === 0) {
world.getDimension('overworld').runCommand('function scoreboard/time');
}
});