local WG_BUFF = GetSpellInfo(57940) -- retrieves the name of the buff in whatever locale you're using if UnitAura("player", WG_BUFF) then -- do stuff end