This is brilliant. Thank you. Two things. If you run !rt without any flags it breaks all the API scripting forcing a restart, maybe have !rt without any flags spit out a help screen by default? Here is the error: TypeError: Cannot read property 'get' of undefined TypeError: Cannot read property 'get' of undefined at handleInput (apiscript.js:2192:42) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:105:34), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:105:34), <anonymous>:70:8) at /home/node/d20-api-server/api.js:1200:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489) at Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:111:461 My second question - as it isn't clear to me from this thread or documentation - can I use this for complex random encounters? For example, I am running Out of the Abyss which is heavy on the random encounters when wandering the Underdark. They look something like this: Table1 1 No encounter 2 Creature -> roll 1d20 on tableCreature 3 Terrain -> roll 1d20 on tableTerrain 4 Creature and Terrain -> roll once on both tableCreature and tableTerrain. tableCreature 1 mob1 2 mob2 with 25% chance of treasure -> if true roll on tableTreasureA 3 mob3 but a random type of mob -> roll on tableRace to determine if human, elf, or dwarf. 4 mob4 etc. Rolling Creature on Table1 should then trigger a roll on tableCreature. If mob2 is rolled then that should trigger a roll to see if the mob has treasure, if so, it would then roll on the tableTreasureA. Rolling mob3 on tableCreature should trigger another roll on tableRace to determine if it is a human, elf or dwarf. Rolling Creature and Terrain on Table1 triggers two separate rolls on tableCreature and tableTerrain which may trigger further rolls as explained above. All these tables are created as rollable tables in roll20. Hope that's clear! Thanks :)