Skip to content

Instantly share code, notes, and snippets.

@freebaser
Created December 2, 2010 10:25
Show Gist options
  • Save freebaser/725099 to your computer and use it in GitHub Desktop.
Save freebaser/725099 to your computer and use it in GitHub Desktop.
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