Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: all (371)

CS2D Command bot_prefix

Categories

Parameters

  • prefix (text): a prefix for botnames

Info

Sets a prefix for all bot names. This makes it easier to see which players are bots.
You have to change this setting BEFORE bots join. It does NOT affect bots who already joined.
Set it to "" if you don't want to use a prefix for bots.

The default bot prefix is "[b]".

Note: You can also see which players are bots and which aren't by taking a look at the ping column in the scoreboard. It will say "Bot" there for all bots. Also note that bots have 0 latency as they run on the server. That's why it doesn't make sense to show a latency value for them.

Lua Hook Lua Hooks

Lua Command Lua Commands