Server Talk > Scripting Releases
BotKeeper
VirtualTT:
Script Name: tws_BotKeeper
Script Version: 1.1
Script Description: Adds/removes bots to maintain specified minimum number of players on the server. When human player joins game one bot from his team will be kicked and then added back when human player leaves the game/changes team. These bots will rejoin immediately if kicked by players. All gamemodes and players limit changes are respected. Does not affect bots-spectators. Can be configured through ini and/or set of commands. Also provides /kickbots command.
Original Author(s): VirtualTT
Server Version: 2.7.2
Core Version: 3.0
I saw a request for this kind of script...
Swompie:
These slashes are very annoying in my eyes ;/
Even tho I never knew 'bout this stuff: {$IFDEF ..} {$ENDIF}
Why you don't use normal if .. then's? Does the compiler just ignore this stuff when {$DEFINE DEBUG} is commented out?
Gj tho.
VirtualTT:
Using compiler directives is the right way to debug scripts. And basically yes, if {$DEFINE DEBUG} directive is commented all {$IFDEF DEBUG}...{$ENDIF} blocks are ignored so no useless debug code will be executed in normal mode.
Swompie:
Mhh, very nice to know, thx alot ;)
VirtualTT:
Almost forgot - added list of commands for quick access/autocompletion in Baka Admin ~ comfort admin client should be comfort. ^^
From: July 01, 2010, 01:15:01 pmUpdated to v1.1 - fixed some minor things (/setbotname and /setminplayers didn't work properly).
Navigation
[0] Message Index
[#] Next page
Go to full version