2021-04-05 17:29:49 +02:00
.. _plugin-Games:
Documentation for the Games plugin for Supybot
==============================================
Purpose
-------
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
This plugin provides some fun games like (Russian) roulette, 8ball, monologue
which tells you how many lines you have spoken without anyone interrupting
you, coin and dice.
Usage
-----
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
This plugin provides some small games like (Russian) roulette,
eightball, monologue, coin and dice.
2021-04-05 22:56:40 +02:00
.. _commands-Games:
2021-04-05 17:29:49 +02:00
Commands
--------
2021-12-04 02:50:28 +01:00
2021-04-17 20:09:33 +02:00
.. _command-games-coin:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
coin takes no arguments
Flips a coin and returns the result.
2021-04-17 20:09:33 +02:00
.. _command-games-dice:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
dice <dice>d<sides>
Rolls a die with <sides> number of sides <dice> times. For example, 2d6 will roll 2 six-sided dice; 10d10 will roll 10 ten-sided dice.
2021-04-17 20:09:33 +02:00
.. _command-games-eightball:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
eightball [<question> ]
Ask a question and the answer shall be provided.
2021-04-17 20:09:33 +02:00
.. _command-games-monologue:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
monologue [<channel> ]
Returns the number of consecutive lines you've sent in <channel> without being interrupted by someone else (i.e. how long your current 'monologue' is). <channel> is only necessary if the message isn't sent in the channel itself.
2021-04-17 20:09:33 +02:00
.. _command-games-roulette:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
roulette [spin]
Fires the revolver. If the bullet was in the chamber, you're dead. Tell me to spin the chambers and I will.
2021-04-17 20:09:33 +02:00
.. _conf-Games:
2021-04-05 17:29:49 +02:00
Configuration
-------------
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Games.public:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Games.public
This config variable defaults to "True", is not network-specific, and is not channel-specific.
Determines whether this plugin is publicly visible.