// Listen for game state changes haxball.on('GameStateChanged', (state) => console.log(`Game state changed to: $state`); );
Sample skeleton (conceptual, not runnable): script haxball hot