- Command limits:
- Do not define more than 64 commands
- Do not use more than 17 letters for your custom command
- Here are a few example custom commands that can be used:
[command]
command = maxpanzers
exec = team_maxPanzers [1]
desc = Sets maximum panzers per team
levels = 4 5
[command]
command = teamspeak
exec = say "^4|^3Teamspeak IP: 82.165.232.186:8767 password: ssts^4|^7"
desc = Show's Teamspeak Server info
levels = 0 1 2 3 4 5
[command]
command = insanity
exec = jp_insanity [1]
desc = Sets jp_insanity
levels = 5
[command]
command = headshot
exec = set g_headshot [1]
desc = Sets headshot mode
levels = 4 5
[command]
command = holyshit
exec = playsound sound/spree/holyshit.wav; cp "^4|^1!!!HOLY SHIT!!!^4|"
desc = Plays HOLY SHIT! sound
levels = 3 4 5
[command]
command = endmap
exec = timelimit .05
desc = Ends current map and goes to intermission, (better than nextmap if map has been playing for a few minutes)
levels = 3 4 5
[command]
command = funmaps
exec = exec funmaps.cfg
desc = Loads fun map cycle
levels = 5
[command]
command = mainmaps
exec = exec objectivecycle.cfg
desc = Loads regular map cycle
levels = 5
[command]
command = be
exec = pb_sv_banempty; chat PB ban list (in memory) has been emptied.
desc = Cleans temp pb ban list. PB temp banned players can re-connect immediately.
levels = 5
- Bot custom command examples that can be used:
[command]
command = addbot
exec = bot addbot [1] [2] [3]
desc = Adds bot to game. Syntax: !addbot <team> <class> <name>. Don't use whitespaces in <name>.
levels = 5
[command]
command = kickbot
exec = bot kickbot [1] [2] [3]
desc = Kicks a bot. Syntax: !kickbot <name>.
levels = 5
[command]
command = minbot
exec = bot minbots [1]
desc = Sets minimum count of bots in game.
levels = 5
[command]
command = maxbot
exec = bot maxbots [1]
desc = Sets maximum count of bots in game.
levels = 5
[command]
command = kickallbots
exec = bot minbots 0; bot maxbots 0; bot kickall
desc = Cleans server from bots.
levels = 5
Limits
- The Shrubbot system is limited to; 31 levels, 32768 admins, 1024 bans and 64 commands.