diff --git a/.pkgmeta b/.pkgmeta new file mode 100644 index 0000000..a0f9119 --- /dev/null +++ b/.pkgmeta @@ -0,0 +1,7 @@ +package-as: GemStacker + +externals: + Libs/LibStub: svn://svn.wowace.com/wow/libstub/mainline/trunk + Libs/AceAddon-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0 + Libs/AceConsole-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0 + Libs/AceEvent-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0 diff --git a/GemStacker.lua b/GemStacker.lua index 1d34b9b..67b3783 100644 --- a/GemStacker.lua +++ b/GemStacker.lua @@ -6,12 +6,10 @@ function core:OnInitialize() end function core:OnEnable() - --use chat_msg_loot later self:RegisterEvent('CHAT_MSG_LOOT','StackGems'); end function core:StackGems(_,message) - --should receive something like "player","Reckless Ember Topaz","",2,73369 if(not string.find(message,'You create')) then return end; local gem = message:match("%[(.-)%]");