bot_randombuy <true|false>

If true, bots ignore their preferred weapons and buy at random.

Examples

bot_randombuy false - Bots buy their preferred weapons (default).

bot_randombuy true - Bots ignore preferences and buy weapons at random.

For this command to work you must first run sv_cheats true in the console. It only works on a local map or a private server — not in matchmaking. sv_cheats is a built-in Valve command and is completely safe from VAC.
true and false can also be written as 1 and 0.