====== Python Irc Bot ====== ==== What you need ==== In order to make the python bot work, you need to install a dependence called :python-twisted ==== Config ==== In suckerserv/python_bot, you will find a file called config.py. With this file, you will configurate your bot. === Irc identity === ^ Nom ^ Default ^ Description ^ | servername | gamesurge | Name of the irc server (GameSurge, Freenode,...) | | host | 195.8.250.180 | Ip address of the irc server | | port | 6667 | Connection port of the irc server | | channels | #suckerserv | Irc channel where the bot will stay connected | | default_channel | #suckerserv | You can control your irc bot only on this channel | === Servers === ^ Name ^ Default ^ Description ^ | name | server1 | Name of the gameserver on irc | | host | localhost | Ip address of the gameserver | | password | | Password that you have writen in server.conf (python bot part| | format | \003**01**%s\003 | Color of the irc gameserver name | ---- tion<==== Commands ==== To use the bot commands, you need to be an operator (op). To use a command, you just need to write ".servername " ''Example: my servername is //suckerserv//, i write: **.suckerserv kick 4 datAdmin** '' === List of commands === ^ command ^ Description ^ | ping | See if your bot is connected to the gameserver | | say | Speak from irc => gameserver | | players | Shows all the players connected to the gameserver | | restart | Restarts the server | | uptime | Tells you the server's uptime | | stats | Look to the stats of a player who is connected on your gameserver | | mute | Mute someone on your gameserver | | unmute | Unmute someone on your gameserver | | kick | Kick someone from your gameserver | | disconnect | Disconnect someone from your gameserver | | spec | Make someone spectator on your gameserver | | unspec | Move someone from spectator on your gameserver | | slay | Kill someone on your gamerserver | | clearbans | Clear all bans on your gameserver | | pause | Pause the game | | resume | Resume the game | | specall | Make all players specator | | unspecall | Move all players from spectator | | recorddemo | Record a demo | | stopdemo | Stop the record of a demo | | ip | Show the ip of a player | | map | Launch a | | changetime