WoWInterface SVN Thanks4Buff

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 1 to Rev 2
    Reverse comparison

Rev 1 → Rev 2

trunk/Thanks4Buff.toc New file
0,0 → 1,10
## Interface: 30000
## Title : Thanks For Buff
## Notes: Emotes a thank you to people who buff you.
## Author: Sekrin@Argent Dawn-EU
## Version: 1.0.wowi:revision
 
## X-Email: sekrin.ad@googlemail.com
## X-Category: Miscellaneous
 
Thanks4Buff.lua
\ No newline at end of file
trunk/Thanks4Buff.lua New file
0,0 → 1,10
local t4bf = CreateFrame('Frame');
t4bf:SetScript('OnEvent', function(self, event, ...)
local timestamp, type, sourceGUID, sourceName, sourceFlags, destGUID, destName, destFlags = select(1, ...)
local filter = bit.bor(COMBATLOG_OBJECT_AFFILIATION_OUTSIDER, COMBATLOG_OBJECT_REACTION_FRIENDLY)
if type == "SPELL_AURA_APPLIED" and destGUID == UnitGUID("player") and CombatLog_Object_IsA(sourceFlags, filter) then
local spellId, spellName, spellSchool = select(9, ...)
SendChatMessage("thanks "..sourceName.." for their "..spellName)
end
end);
t4bf:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
\ No newline at end of file
trunk Property changes : Added: wowi:dirname + Thanks4Buff