I didn't use copy and paste, but obviously i used most of the features here, after running it, i ran errors, then i switched to your code only as a test and saw that i ran errors. I guess i put a typo in there somewhere, because i mostly use %client.chatmessage