
From Chat Events section in the wiki: "Triggered whenever a new chat message is received. Note that if the message is of type "rollresult", you will need to call JSON.parse() on the content of the message to get an object which contains information on the roll results." Any chance of an example with this statement and the subsequent use of the parsed "rollresult" message? The logic of the script I want to write is easy but if I have the syntax of this bit wrong I will not get far. I need the number of sides, the compare point value and the actual roll from the message.