Difference between revisions of "Raffle.php"

From Bebot Wiki 2
Jump to navigationJump to search
(Created page with '====== Raffle Module User Reference ====== ==== Description ==== Improved Raffle module that supports multiple winners when raffling identical items and logging via the [[UserH…')
 
Line 6: Line 6:
  
 
===== Commands provided =====
 
===== Commands provided =====
 
+
<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>. (One winner raffle)          |Leader    |Disabled    |Leader    |
Line 13: Line 13:
 
|!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>
  
 
===== Module settings =====
 
===== Module settings =====
 
+
<pre>
 
^Setting      ^Default  ^Description                                              ^
 
^Setting      ^Default  ^Description                                              ^
 
|Duration  |60|Duration (in seconds) of raffles.                  |
 
|Duration  |60|Duration (in seconds) of raffles.                  |
 +
</pre>

Revision as of 09:02, 30 July 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>. (One winner raffle)           |Leader     |Disabled    |Leader     |
|!raffle|start|<num> <input>              |Starts a raffle for <input> with <num> winners.           |Leader     |Disabled    |Leader     |
|!raffle|cancel   | |Cancels the 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.                   |