logo bannerlogo banner
Page Navigator

You should usually send a first spawn packet here and initialize your game information.

bot.on('gameReady', () => {
    console.log('game is ready!');

    // this is a good place to execute a spawn action
    bot.emit('spawn');

    // this is also a good place to execute a gun switch action
    bot.emit('saveLoadout', { gunId: 1 }); // switch to scrambler
});