View Single Post
07-17-21, 01:12 PM   #2
pas06
A Theradrim Guardian
Join Date: Apr 2009
Posts: 62
thats pretty straight forward.

Code:
local frame = CreateFrame("frame")
frame:RegisterEvent("PLAYER_LOGIN")
local function doStuff()
-- do whatever you want
end
frame:SetScript("OnEvent", function() C_Timer.After(20, doStuff) end)
  Reply With Quote