SendChatMessage needs a hardware event (key press or mouse click) for the SAY channel (and YELL but you're not using that). It cannot be called from code just based on an event or some other condition.
The code you have should work OK for Party, Raid and Guild shoutouts... for now, as those channels don't require the hardware event..
Last edited by Fizzlemizz : 04-12-20 at 01:25 AM.
|