Outils pour utilisateurs

Outils du site


en:suckerserv:pythonbot

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:suckerserv:pythonbot [2011/06/29 20:37] – [Irc identity] loveforeveren:suckerserv:pythonbot [2014/06/14 14:34] (Version actuelle) – [Commands] added stuff aporia
Ligne 1: Ligne 1:
 ====== Python Irc Bot ====== ====== Python Irc Bot ======
 +
 +==== What you need ====
 +
 +In order to make the python bot work, you need to install a dependence called :<code bash>python-twisted</code>
 +
  
 ==== Config ==== ==== Config ====
Ligne 13: Ligne 18:
  
 === Servers === === Servers ===
-^ Name                Valeur par défaut     ^ Description ^+^ Name             Default     ^ Description ^
 | name             | server1           | Name of the gameserver on irc | | name             | server1           | Name of the gameserver on irc |
 | host             | localhost         | Ip address of the gameserver | | host             | localhost         | Ip address of the gameserver |
 | password                           | Password that you have writen in server.conf  (python bot part| | password                           | Password that you have writen in server.conf  (python bot part|
-| format           | \00301%s\003      | Color of the irc gameserver name |+| format           | \003**01**%s\003      | Color of the irc gameserver name |
  
 ---- ----
  
-==== Commands ==== +tion<==== Commands ==== 
-To use the bot commands, you need to be an operator (op). To use a command, you just need to write ".servername <command>"+To use the bot commands, you need to be an operator (op). To use a command, you just need to write ".servername <command> <action>"
  
-''example: my servername is suckerserv, i write: .suckerserv pause''+''Example: my servername is //suckerserv//, i write: **.suckerserv kick 4 datAdmin** ''
  
 === List of commands === === List of commands ===
 ^ command           ^ Description ^ ^ command           ^ Description ^
 | ping              | See if your bot is connected to the gameserver |         | ping              | See if your bot is connected to the gameserver |        
-| say <text>        | Speak from irc => gameserver |        +| say <text>        | 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 <cn>        | Look to the stats of a player who is connected on your gameserver |                    | stats <cn>        | Look to the stats of a player who is connected on your gameserver |                   
 | mute <cn>         | Mute someone on your gameserver |      | mute <cn>         | Mute someone on your gameserver |     
 | unmute <cn>       | Unmute someone on your gameserver | | unmute <cn>       | Unmute someone on your gameserver |
 +| kick <cn> <admin_name> | Kick someone from your gameserver |
 | disconnect <cn>   | Disconnect someone from your gameserver | | disconnect <cn>   | Disconnect someone from your gameserver |
 | spec <cn>         | Make someone spectator on your gameserver | | spec <cn>         | Make someone spectator on your gameserver |
 | unspec <cn>       | Move someone from spectator on your gameserver | | unspec <cn>       | Move someone from spectator on your gameserver |
 | slay <cn>         | Kill someone on your gamerserver | | slay <cn>         | Kill someone on your gamerserver |
 +| clearbans         | Clear all bans on your gameserver |
 | pause             | Pause the game | | pause             | Pause the game |
 | resume            | Resume the game | | resume            | Resume the game |
Ligne 46: Ligne 56:
 | map <map>         | Launch a <map> | | map <map>         | Launch a <map> |
 | changetime <time> | Change the time of the current game | | changetime <time> | Change the time of the current game |
 +| reload            | Reload all server scripts |
 +
 +You can use **.all <command> <action>** if you wish to activate a command on all your actuall servers.
 +
 +''Example : I want to use the //players// command on all my servers, I do : **.all players** ''
en/suckerserv/pythonbot.1309372664.txt.bz2 · Dernière modification : 2014/05/31 00:26 (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki