View Single Post
10-19-20, 12:14 PM   #2
ragunragun
A Murloc Raider
Join Date: Oct 2020
Posts: 4
I figured it out!

Lua Code:
  1. local noloadingscreen = true
  2. local function OnEvent(self, event, isInitialLogin, isReloadingUi)
  3.     if isInitialLogin or isReloadingUi then
  4.     else
  5.             noloadingscreen = nil
  6.         C_Timer.After(2, function()
  7.             noloadingscreen = true
  8.         end)
  9.     end
  10. end
  11.  
  12.  
  13.  
  14.             if subevent == "SPELL_AURA_APPLIED" and destGUID == playerGUID and noloadingscreen == true then
  15.                     a:SetTimer("buffup", 1)
  16.                     a.Sound(SoundPackValue("buff_on_self"))
  17.             end

Did the job.
  Reply With Quote