Hackmastering Roll20 #4 - Initiative & Count Up API

Опубликовано: 04 Апрель 2026
на канале: Hackmastering Roll20
1,380
13

Well this is it! Time to start mucking around with the API and make some macros! Trust me, it's not hard at all - unless you forget to make yourself the controller of the tokens...

Link to API Script:
https://app.roll20.net/forum/post/841...

Link to the lines that need to be changed:
https://app.roll20.net/forum/post/198...

MACROS (everything inside the quotes):

Clear Tracker "!clearTracker" - clears the tracker and resets to second zero

Initiative "/gmroll d?{Modifier|12}+@{selected|Init} &{tracker}" - rolls init with variable die for monster tokens linked to a character journal

Next Second "!next" move to next second in count

EOT "!eot 1" move selected token to next second in count

EOT ? "!eot ?{Modifier|0}" move selected token a variable number of seconds ahead in count

EOT Token Speed "!eot @{selected|Speed}" move selected token ahead in count a number of seconds listed in its character journal Speed attribute

EOT Token ROF "!eot @{selected|ROF} move selected token ahead in count a number of seconds listed in its character journal ROF attribute

Details Macro:
/w gm &{template:default} {{name=@{selected|token_name} Details}} {{Hit Points=X}} {{Reach=X}} {{Size/Weight=X}} {{Intelligence=X}} {{Crawl=X}} {{Walk=X}} {{Jog=X}} {{Run=X}} {{Sprint=X}} {{Vision Type=X}} {{Awareness/Senses=X}}