Simple addon help, sending guild message on event
I am trying to make an addon that does a simple checking for achievement in guild and then spits out a chat message.
So far this is what I have come up with: Code:
local frame = CreateFrame("Frame") |
It looks fine to me, did you also try turning it into an addon with http://addon.bool.no/
|
Quote:
|
Here's the lovely C_Timer functions..
http://wow.gamepedia.com/API_C_Timer.After http://wow.gamepedia.com/API_C_Timer.NewTimer http://wow.gamepedia.com/API_C_Timer.NewTicker Try to remember to give your frames unique names so it's easier to point out when further developing your addon. While naming the frame "frame" is alright with this small addon you should make it a habit to do the other. Code:
local AchieveHandler = CreateFrame("Frame") |
Those timers won't work that way. If 20 people get an achievement, 20 messages will still go out but 10 seconds later.
Try this: Code:
local autograts=CreateFrame('frame') |
Quote:
Quote:
Lua Code:
|
All times are GMT -6. The time now is 01:32 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI