Advertisement
feasel

Milkshakebot Commands

Nov 3rd, 2011
883
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. This is a list of commands recognized by milkshakebot. The bot responds to commands in the
  2. channel or in PM (private message). If you plan to issue a lot of commands in a short
  3. period of time please consider using PM instead in order to avoid spamming the channel.
  4. Alternatively you may join the channel #milkshake and spam to your heart's content.
  5.  
  6.  
  7. STATISTICS
  8.  
  9. !stats player game goal
  10.  
  11. Displays some statistics, such as max, min, average.
  12.  
  13. !top5 game goal
  14. !top10 game goal
  15. !top20 game goal
  16.  
  17. Prints the top times for a goal.
  18.  
  19. !pb player game goal
  20.  
  21. Prints the 10 best times for a player on a goal. Can also do !pb5, !pb10, !pb20
  22.  
  23. !pw player game goal
  24.  
  25. Prints the 5 worst times for a player on a goal.
  26.  
  27. !players game [goal]
  28. !goals game [player]
  29. !games player
  30.  
  31. Prints a list of players, goals, or games. Sorted by number of races. Wildcards
  32. are allowed: *
  33.  
  34. !gamerank game
  35.  
  36. {Currently disabled} Prints the ranking of this game and its neighbors.
  37.  
  38. !race [player] [game] [goal] [N]
  39.  
  40. Lists results for the Nth race matching the given game and goal. Any of the parameters
  41. may be omitted. If N is omitted, the most recent race is returned. N may be negative
  42. (e.g. -2 is the 2nd most recent race). Wildcards are allowed: *
  43.  
  44. !predict player game goal
  45.  
  46. Predicts a player's time and expected variability (standard deviation) using several
  47. methods. Methods 1 and 2 use a moving average, with recent races weighted more highly.
  48. In method 1, recent is determined by date, using a gaussian with a width of 12 days.
  49. In method 2, recent is determined by number of races, using a gaussian with width 8 races.
  50. Method 3 uses a Kalman filter with a 3-state model (race-time, velocity, acceleration).
  51. Aggregate is a weighted average of the three methods. No one method will work well for
  52. all players on all games, so take the results with a grain of salt.
  53.  
  54.  
  55. TRANSLATION
  56.  
  57. !x Some text here
  58.  
  59. Translates a line of text into another language (target language is set by !language)
  60.  
  61. !e Some text here
  62.  
  63. Translates a line of text into English (source language is set by !language)
  64.  
  65. !language [jp|sv|de|fr|es|it|nl|da|no|ru|zh|hi]
  66.  
  67. Sets the current language for !x and !e
  68. Supported languages: Japanese, Swedish, German, French, Spanish, Italian, Dutch, Danish,
  69. Norwegian, Russian, Chinese, Hindi
  70.  
  71. !transchan [jp|sv|de|fr|es|it|nl|da|no|ru|zh|hi]
  72. !transchan stop
  73.  
  74. Creates (or stops) a translation channel in the given language. For example, issuing the
  75. command "!transchan fr" in channel #foo will create a new channel #foo-fr. Anything typed
  76. in #foo will be translated from English to French and printed in #foo-fr. Anything typed
  77. in #foo-fr will be translated from French to English and printed in #foo.
  78.  
  79.  
  80. MISCELLANEOUS
  81.  
  82. !calc 18 + 5
  83.  
  84. Calculations and conversions using google.
  85.  
  86. !define Word
  87.  
  88. Finds the definition of a word.
  89.  
  90. !wiki Some article name
  91.  
  92. Finds the wikipedia article.
  93.  
  94.  
  95. Milkshakebot was written by feasel in python. The first version went live on 19 Oct 2011.
  96. For questions, or to report errors, PM feasel at irc.speedrunslive.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement