I made a script to show the degrees of success or fail for the 40k skill tests. The script calculates the correct values, but I get the following error when I try to send it to chat. For reference, the error message generated was: SyntaxError: Unexpected token y at Object.parse (native) at evalmachine.<anonymous>:5:24 at eval ( It runs once correctly then I get the above error message in the log and it wont run again. I cant for the life of me figure out what is going wrong with the code, it works 1005 fine until I put in the two sendChat methods. <a href="https://gist.github.com/lostaris/3321fa360065358c4fa7" rel="nofollow">https://gist.github.com/lostaris/3321fa360065358c4fa7</a>