Difference between revisions of "Script:Game Timer"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{revdate}}{{stub}} | ||
+ | {{main|API:Script Index}} | ||
+ | |||
{{script overview | {{script overview | ||
Line 5: | Line 8: | ||
|version=1.3.1 | |version=1.3.1 | ||
|lastmodified=2019-03-05}} | |lastmodified=2019-03-05}} | ||
− | |||
− | |||
This is a simple script to court how long does player use the game room. | This is a simple script to court how long does player use the game room. | ||
Line 17: | Line 18: | ||
Support for multiple clock at same time. | Support for multiple clock at same time. | ||
− | + | Commands to create, toggle, and reset. | |
+ | These all work on selected token(s). | ||
+ | |||
+ | <pre style="overflow:auto;white-space:pre-wrap;" data-language="javascript">Create Game Clock !game.clock --create -c | ||
+ | |||
+ | Stop the clock --toggle -t | ||
+ | |||
+ | Reset the Clock --reset -re | ||
+ | |||
+ | Turn on/off rotation --rotation -ro | ||
+ | |||
+ | Turn on/off status markers --marker -m | ||
− | + | Turn on/off aura --aura -a | |
− | + | Adjust angle --(number) like --90 | |
+ | Add word before clock :(word) like :StartFrom2019 | ||
+ | </pre> | ||
<br clear="all"> | <br clear="all"> | ||
Latest revision as of 13:52, 11 October 2021
Page Updated: 2021-10-11 |
This article is a stub. |
Main Page: API:Script Index
API ScriptAuthor: SAD
Version: 1.3.1
Last Modified: 2019-03-05
Code: Game Timer
Dependencies: None
Conflicts: None
Version: 1.3.1
Last Modified: 2019-03-05
Code: Game Timer
Dependencies: None
Conflicts: None
This is a simple script to court how long does player use the game room.
Just upload a clock picture on the table and name game.clock.
Then the picture will court the time.
API sandbox will shutdown soon when all player exit the room.
Support for multiple clock at same time.
Commands to create, toggle, and reset. These all work on selected token(s).
Create Game Clock !game.clock --create -c Stop the clock --toggle -t Reset the Clock --reset -re Turn on/off rotation --rotation -ro Turn on/off status markers --marker -m Turn on/off aura --aura -a Adjust angle --(number) like --90 Add word before clock :(word) like :StartFrom2019
[edit] Changelog
v1.3.1 (2019-03-02)
- Release