
Version: 1.3
Written by: GaB|Mindcrime (in real life Remy Wetzels <mindcrime@chello.nl>)
Copyright: 2002-2004 by Remy Wetzels


Mindcrime's Wolfbot: an IRC Live Reporter Bot.
==============================================

Client mode CONSOLE Commands:
-----------------------------

These commands can only be used in client mode.

For reference how to open the console window, check your keyboard settings/binds.

Every command has the following syntax:

/lbot COMMAND ARGUMENTS

You can also use

\lbot COMMAND ARGUMENTS

or just

lbot COMMAND ARGUMENTS


Medal of Honor: Allied Assault SPECIFIC!!!!
-------------------------------------------

Since MOHAA does NOT log everything that is typed into the console there
is a workaround for still being able to control the bot via the console.
HOWEVER!!!! It has a certain risk factor.

The console command IPRINT let's you print global game notification. These
notifications get logged in your qconsole.log. However, since ALL PLAYERS
on the server can do that it means that if you turn this option on ALL
PLAYERS can in fact control the bot. That's why by default it is turned OFF!

So if you turned it on this is how it will work for MOHAA:

/iprint /lbot COMMAND ARGUMENTS
/iprint \lbot COMMAND ARGUMENTS
/iprint lbot COMMAND ARGUMENTS


BOT Commands:
-------------


/lbot say TEXT

The bot will display the text (after a possible delay) in the IRC channel.



/lbot start

The bot will reset all scores and stats and time.



/lbot showscore [TXT]

The bot will show the current game score on the IRC channel.
You can give a text stating the current score.
If no value is give the current set score is shown (if
any)



/lbot showsroundcore

The bot will show the current round score on the IRC channel.



/lbot score red/blue value

This sets the current game score of the Red/Axis team or the
Blue/Allies team to value.



/lbot roundlimit value

This sets the roundlimit of a game. This will only have effect in
certain gametypes where the round scores will be reset when the
number of rounds played (score of red and blue team) total that limit.



/lbot fraglimit value

This sets the fraglimit of a game. This will only have effect in
certain gametypes where the players scores will be reset when the
score of one of the players reaches that limit.

Default value is 0 (no fraglimit). Roundlimit and scorelimit takes
precedence over fraglimit.



/lbot scorelimit value

This sets the scorelimit of a game. This will only have effect in
certain gametypes where the round scores will be reset when the
score of one of the teams reaches that limit.

Default value is 0 (no scorelimit). Roundlimit takes precedence over
scorelimit.



/lbot roundscore red/blue value

This sets the current round score of the Red/Axis team or the
Blue/Allies team to value.



/lbot quit
This stops the bot program.



/lbot floodprotect [on/off/skip]

This turns irc floodprotection to on/off. It will try to
prevent excess flood kicks. If you choose skip it will also
skip lines if the bot notices that it has to wait for more
than three lines to prevent excess kicks. Use this last one
only if the bot starts to really lag behind live gameplay.



/lbot floodperc [1-99]
/lbot floodpercentage [1-99]

This set the bot's flood percentage. Flood protection
will prevent the bot from being kicked by IRC for possible
flood excesses. See the command floodprotect for more information.
If you have set floodprotect to "skip" this floodpercentage will
determine the percentage of (frag)lines being skipped from the
output. When there is a lot of action going on the bot will start
to run behind the gameplay and might also getting kicked for
sending to much info. Using floodprotect (and set to on) might
prevent you getting the bot kicked (for excess flood), but it
also might get the bot to run behind the actual live gameplay. If
you set floodprotect to skip the bot will start to throw away
less important info (frags are less important than dynamite
plants and objectives reached) and will do this with a random
chance of this floodpercentage value. Default is 33%. Which means
that it throws away every 1 in 3 lines on average. This seems a lot
but remember that the bot normally does not throw away any
(frag)lines unless the bot continuously reaches the byterate
limit and is seriously getting behind live gameplay or that it
has serious network connection problem (because your connection
is unstable).



/lbot byterate [#rate]

This sets the maximum irc byterate for floodprotection.



/lbot showplay [on/off]

The bot will show frags and gameplay if set to on.
Default is to show the frags and gameplay.



/lbot showfrags [on/off]

The bot will show frags if set to on.
Default is to show the frags on RTCW and SOF2.
Default is NOT to show the frags on STEF.



/lbot et [on/off]

Turn on/off support for RTCW: Enemy Territory. This must/should be turned on
when playing RTCW: ET. It has no effect in RTCW (in client mode).



/lbot settime XX[:YY]

The bot will set the time remaining (RTCW) or elapsed (SOF2/STEF) time  on the map
to XX minutes and YY seconds. If the maptime is unknown to the bot use this as
time elapsed on the map.



/lbot maptime [XX[:YY]]

The bot will show or set the maptime on the map to XX minutes and YY seconds.



/lbot roundtime [XX[:YY]]

The bot will show or set the roundtime on the map to XX minutes and YY seconds.



/lbot usetime [on/off]

The bot will show the time remaining on the map if this is set to on.
If set to off it will be turned off. If no value is entered it will
show the current status.



/lbot playerstats [on/off]

The bot will show the kills/deaths of a player with each frag he
makes if turned on.



/lbot swapnames

The bot will swap the names and clantags of the Red and Blue teams.



/lbot swapplayers

The bot will swap the teams of the Red and Blue players.



/lbot swapscores

The bot will swap the game/round scores of the Red and Blue teams.



/lbot swapgamescores

The bot will swap the game scores of the Red and Blue teams.



/lbot swaproundscores

The bot will swap the round scores of the Red and Blue teams.



/lbot swapteams

The bot will swap the names, clantags, players and game/round scores
of the Red and Blue teams.



/lbot map [mapname]

The bot will show/set the current map.



/lbot loadcolors

This reloads the irccolors.cfg file.



/lbot loadmaps

This reloads the mapinfo.xml file.



/lbot silent [on/off]

This shows/sets/unsets the silent mode. If the silent
mode is on the bot won't sent anything to the IRC channel
but it will still continue to scan the logfile.


/lbot renameteam red/blue name

This renames the red or blue team.



/lbot osp [on/off]

This shows/sets/unsets the OSP mode option.
(This setting effects RTCW/SOF2 only)



/lbot fight [on/off]

This shows/sets/unsets the OSP/ET FIGHT option.
This normally will be set automatically by the bot, but if you connect
to a game already in progress the bot has not yet seen FIGHT! come by.
(This setting effects RTCW/RTCW:ET client only)



/lbot ospfight [on/off]

This shows/sets/unsets the OSP FIGHT option.
This normally will be set automatically by the bot, but if you connect
to a game already in progress the bot has not yet seen FIGHT! come by.
(This setting effects RTCW client only)



/lbot clantag red/blue name

This sets the red or blue clantag. See /lbot useclantags for more information.



/lbot useclantags [on/off]

If you want the bot to determine the team of the players by their clantags,
set this to on.



/lbot messages [on/off]

This shows/sets/unsets the messages option.



/lbot channelstats

This shows the current player stats on the IRC channel



/lbot roundscoreclear

This sets the round scores of the teams to 0



/lbot scoreclear

This sets the game scores of the teams to 0



/lbot statsclear

This clears the current player stats



/lbot statsdelete

This deletes the current player list (and player stats)



/lbot statsafter [#frags]

Show the player statistics after this many frags.



/lbot server [serveraddress serverport]

This shows/changes the current server to which the bot will ask
for information about scores and pings.



/lbot teammode [on/off]

This shows/sets/unsets the teammode option.



/lbot linesread

This shows the number of lines read from the logfile.



/lbot langin [en/de/nl]

This shows/sets the language of the logfile.
Current values: en = English, de = German.
MOHAA only: nl = Dutch.



/lbot langout [en/de/nl]

This shows/sets the language you wish to sent to the IRC channel.
Current values: en = English, de = German, nl = Dutch.



