Non-scripter here(no kidding, ha ha). Aaron was cool enough to post some examples for using the new "API utilizing 3d dice feature" that's now on the Dev. I just wanted to create a small script to run in the editor so I could see it in action. This is what I have, however when I run !test, it runs continuously in the background posting to chat every 5s or so. Not good. Please point out the error(s) in my code. Thanks //version: 1.0 //use !test to show an API roll with text. on('chat:message', function(msg) { if (msg.type == "api" && msg.content.indexOf("!test") !== -1) { sendChat(msg.who,"The person responsible for bringing the funyans and mountain dew next time is player [[1d6]]!", null, {use3d: true, noarchive: true}); } });