Created
December 2, 2010 10:25
-
-
Save freebaser/725099 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oUF.Tags['afkdnd'] = function(unit) | |
if(UnitIsAFK(unit)) then | |
return CHAT_FLAG_AFK | |
elseif(UnitIsDND(unit)) then | |
return CHAT_FLAG_DND | |
end | |
end | |
oUF.TagEvents['afkdnd'] = 'PLAYER_FLAGS_CHANGED' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment