
I notice a subtle change in one of my scripts and would like to know if that is intentional. My script is run on this event handler: on('chat:message', function(msg) { if(msg.type != 'rollresult' || msg.content.indexOf("tn=") === -1) return;
// my script stuff ... }
I use it to trigger a message about the success of a 3d dice roll if the dice roll is follow by a command like this "tn=4" meaning the target number was 4. Before the Update of Holding my script and the message it prints to the log was run after the 3d dice had stopped. Now I see the message right away. That is a bit annoying because it means that we can see the result in the log before the dice have been rolled. Is there a way to avoid this problem or could it even be considered a bug?