trying to make simple addon for hearthing
ok thier is this macro out there that i modded to suit my needs but i want it to fire off no matter where the stone is in my bags and make it into an addon this is the macro
---/script UseContainerItem(0,1);
---/script DEFAULT_CHAT_FRAME:AddMessage("You are recalling to " .. GetBindLocation() .. ".",0, 0.9, 0, 1,4);
---/script UIErrorsFrame:AddMessage("Recalling To " .. GetBindLocation() .. ".",0, 0.9, 0, 1,4);
this is so far what i have for the addon lol
function BW_OnLoad()
BW_AddMessage("BindWarn Loaded! Created By SkOODaT");
end
function BW_AddMessage(msg)
if ( DEFAULT_CHAT_FRAME ) then
DEFAULT_CHAT_FRAME:AddMessage("BW: "..msg);
UIErrorsFrame:AddMessage("BW: "..msg);
end
end
function BW_WarnOnUse
------->>>>
BW_AddMessage("You are recalling to " .. GetBindLocation() .. ".",0, 0.9, 0, 1,4);
end
*i dont know where to start .... how do i set it up to fire on hearthstone use lol does it have something to do with the item link?
any help is awesome
SkOO~
Last edited by SkOODaT : 07-01-06 at 11:36 AM.
|