Difference between revisions of "Raffle.php"

From Bebot Wiki 2
Jump to navigationJump to search
Line 8: Line 8:
 
<pre>
 
<pre>
 
^Command  ^ Keyword  ^Argument(s)  ^Description                          ^Tell      ^Guild    ^Priv      ^
 
^Command  ^ Keyword  ^Argument(s)  ^Description                          ^Tell      ^Guild    ^Priv      ^
|!raffle|start         |<input>             |Starts a raffle for <input>. (One winner raffle)          |Leader     |Disabled   |Leader     |
+
|!raffle | start   | <input>       | Starts a raffle for <input>.         | Leader   | Disabled | Leader   |
|!raffle|start|<num> <input>             |Starts a raffle for <input> with <num> winners.           |Leader     |Disabled   |Leader    |
+
|!raffle | start   | <num> <input> | Same with <num> winners.             | Leader   | Disabled |Leader    |
|!raffle|cancel   | |Cancels the active raffle. No winner. |Leader     |Disabled   |Leader    |
+
|!raffle | cancel |               | Cancels active raffle. No winner.     | Leader   | Disabled |Leader    |
|!raffle|join| |Join the active raffle. |Guest|Disabled   |Guest|
+
|!raffle | join   |               | Join the active raffle.               | Guest     | Disabled | Guest     |
|!raffle|leave| |Leave the active raffle.|Guest|Disabled   |Guest|
+
|!raffle | leave   |               | Leave the active raffle.             |Guest     |Disabled   |Guest     |
 
</pre>
 
</pre>
  

Revision as of 20:12, 17 August 2021

Raffle Module User Reference

Description

Improved Raffle module that supports multiple winners when raffling identical items and logging via the UserHistory_RAID.php module.

Commands provided
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!raffle | start   | <input>       | Starts a raffle for <input>.          | Leader    | Disabled  | Leader    |
|!raffle | start   | <num> <input> | Same with <num> winners.              | Leader    | Disabled  |Leader     |
|!raffle | cancel  |               | Cancels active raffle. No winner.     | Leader    | Disabled  |Leader     |
|!raffle | join    |               | Join the active raffle.               | Guest     | Disabled  | Guest     |
|!raffle | leave   |               | Leave the active raffle.              |Guest      |Disabled   |Guest      |
Module settings
^Setting       ^Default   ^Description                                              ^
|Duration   |60|Duration (in seconds) of raffles.                   |