Quantcast WoWInterface - View Single Post - Trying to make my vanilla frame work in Classic--SendAddonMessage
View Single Post
09-09-19, 08:24 PM   #3
I did that?
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,203
If the sendChat does work, your event handler doesn't have any parameters to "receive" any events and the if/elseif checks will always fail.

function FSMB:OnEvent(event, ...)
	local arg1, arg2, arg3 = ...
You might want to look into C_ChatInfo.SendAddonMessage as I think the prefix is supposed to be the first parameter and I'm not sure the others are correct.
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 09-09-19 at 08:30 PM.
  Reply With Quote