View Single Post
08-14-22, 12:42 PM   #7
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by SDPhantom View Post
Another thing I'd add is stop normal chat traffic from being processed, causing your pattern matching to return nils and throw errors further down.
Originally Posted by myrroddin View Post
Sending price sally to myself correctly whispers the syntax use message.... in an infinite loop.
You still didn't address this issue. It's causing the addon to keep responding to its own messages. It'll also trigger parsing if anyone tries to talk to you.
Unregistering the event while processing isn't enough because the reply comes back after you have re-registered it as the message takes time to go to the chat server and return.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-14-22 at 12:44 PM.
  Reply With Quote