-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add three new timeout-related server commands: - timeoutshow displays the current timeout - timeoutadd adds time to the current turn - timeoutset sets the remaining time for the current turn They are named timeoutsomething for three reasons: - timeoutincrease already exists - it's easier to find them if they're together in /help commands - sub-commands like "timeout show" are not feasible with the current implementation This is heavily inspired from an earlier patch used by LT with 2.6, 41cc12b401fe4a9db8d22b78039561710fff59e3. The syntax is however more flexible, allowing for hours or minutes to be passed directly without doing any calculation. Closes #1151.
- Loading branch information
Showing
3 changed files
with
153 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters