Hi players
I would like to explain the technical usage of the new "TourneyStatsBot", a bot who lists some statistical data about tourneys played on FIBS. Currently there are the two finalists of some played tourneys in the database.
The idea and the general usage will explain you adamosad.
Restrictions:
- At the moment, the bot runs on my personal machine. It is planned to let the bot run on a server 7 x 24 hours. At the moment, the bot only runs experimental, daily from about GMT 7pm to GMT midnight.
- Not all functions are fully tested, so please write it into this forum, if something is working strange.
Users:
The bot differentiates between three groups of users:
- normal users
- tourney-administrators
- superadministratores (owners)
Depending of your status, you will receive the following explanations, if you tell "help" to the TourneyStatsBot:
All users:
I understand the following commands:
 list name=<name> [from=<date>] [to=<date>]
 list country=<countryname> [from=<date>] [to=<date>]
 list type=<tourneytype> [from=<date>] [to=<date>]
 list admins
 list types
 help
The list command lists (as expected) tourneys.
If you are an administrator, you will also receive the following lines:
Commands for administrators:
 add <name> rank=<1|2> type=<tourneytype> date=<date> [country=<country>]
 remove <name> rank=<1|2> type=<tourneytype [date=<date>] [country=<country>]
The add command adds a tourney into the database.
The remove command removes a tourney from the database.
If you are a superadministrator, you will also receive the following lines:
Commands for superadministrators:
 addadmin <name> <tourneytype>[,<tourneytype>...]
 removeadmin <name>
 addtype <tourneytype> 'description'
 removetype <tourneytype>
 backup
With this commands, the superadministrators can add and remove tourney administrators and tourneytypes or make a backup of the data after some heavy changes.
As usual, <name> for instance must be replaced with an account name. Options, remarked with [] are optional.
The following formats will be accepted:
- name: a fibs account name (not checked)
- type: a tourneytype
- date: a date in the form yyyy.mm.dd
- country: a country with 2 letters, as shown
- tourneytype: one of the tourney types, listed with "list types"
So let's try some examples now. The command
list
will show you all tourneys inside the bot. Currently there are about 140 tourneys. So it isn't a good idea to list all tourneys without selection. Selections could be made by account-name (list name), by tourneytype (list type). Or (only for BAGO) by country.
Example 1:
list name=sockseyTourneyStatsBot says: socksey (): 2. LEAG (2002.02.24)
TourneyStatsBot says: socksey (): 2. FRI3 (2003.09.30)
TourneyStatsBot says: socksey (): 2. FRI3 (2004.06.30)
TourneyStatsBot says: socksey (): 2. MINI (2004.11.30)
TourneyStatsBot says: socksey (): 1. MINI (2005.01.31)
TourneyStatsBot says: 5 Tourneys.
Example 2:
list type=bagoTourneyStatsBot says: backwoods (): 2. BAGO (2004.12.31)
TourneyStatsBot says: biggles_two (): 2. BAGO (2004.07.31)
TourneyStatsBot says: blotman (): 1. BAGO (2004.07.31)
...
TourneyStatsBot says: scardy (): 1. BAGO (2004.10.31)
TourneyStatsBot says: soky (): 2. BAGO (2004.11.30)
TourneyStatsBot says: spock (): 1. BAGO (2004.08.31)
TourneyStatsBot says: 17 Tourneys.
You see the name, the country (currently empty "()"), the rank (1. or 2.) the tourneytype and the date where the tourney was played.
Example 3:
list type=bago from=2004.12.31TourneyStatsBot says: backwoods (): 2. BAGO (2004.12.31)
TourneyStatsBot says: blotty (): 2. BAGO (2005.01.31)
TourneyStatsBot says: dirtyharryii (): 1. BAGO (2005.01.31)
TourneyStatsBot says: mano (): 1. BAGO (2004.12.31)
TourneyStatsBot says: noah (): 2. BAGO (2005.01.31)
TourneyStatsBot says: 5 Tourneys.
Example 4:
list adminsTourneyStatsBot says: Kari_Grandi: BAGO,FRI3
TourneyStatsBot says: Noah: NOAH
TourneyStatsBot says: adamosad: *
TourneyStatsBot says: amarganth: *
TourneyStatsBot says: houtx: FRI3
TourneyStatsBot says: mano: BAGO
TourneyStatsBot says: socksey: MINI
The admins, remarked with "*" are the superadministrators.
Example 5:
list typesTourneyStatsBot says: BAGO: BAGOlympics
TourneyStatsBot says: FLGT:
TourneyStatsBot says: FRI3: Friday3 Tourney
TourneyStatsBot says: LEAG:
TourneyStatsBot says: MAST:
TourneyStatsBot says: MINI: Mini Matches
TourneyStatsBot says: NOAH: Noahs 1ptr Tourney
TourneyStatsBot says: PICS:
TourneyStatsBot says: POST:
TourneyStatsBot says: RATA: Rating Tourney Group A (1100-1500)
TourneyStatsBot says: RATB: Rating Tourney Group B (1501-1800)
TourneyStatsBot says: RATC: Rating Tourney Group C (1801-2200)
TourneyStatsBot says: SWIS:
Now what's planned with that bot?
- two weeks testing period with users and administrators
- getting feedbacks, if it's a good thing
(or not
) - changes will be done, if necessary
- transfer the bot to a server
- write a documentation
Try it!
amarganth