Y Yohaiw Member Joined Aug 13, 2012 Messages 143 Apr 22, 2016 #1 Or plug in? for legendary items farming/mounts etc i looked but didnt find, any help fellas?
A Azhemoth Active Member Joined May 8, 2013 Messages 534 Apr 23, 2016 #2 Don't know of any myself. But you can just attach to a Lua event. PHP: local frame = CreateFrame("Frame") frame:RegisterEvent("LOOT_BIND_CONFIRM") frame:SetScript("OnEvent", function(self, event, ...) ConfirmBindOnUse(); end) This can be ran in a profile with Misc\RunLua as well so it just runs with the profile. Or, you can attach it with the HB-API. This is a total hack because I don't know much at all about HB-API PHP: <CustomBehavior File="RunCode"><![CDATA[ Lua.Events.AttachEvent("LOOT_BIND_CONFIRM", ConfirmBind); ]]> </CustomBehavior> <CustomBehavior File="RunCode" Type="Definition" ><![CDATA[ public static void ConfirmBind(object sender = null, LuaEventArgs args = null) { Lua.DoString("ConfirmBindOnUse();"); } ]]> </CustomBehavior> Last edited: Apr 23, 2016
Don't know of any myself. But you can just attach to a Lua event. PHP: local frame = CreateFrame("Frame") frame:RegisterEvent("LOOT_BIND_CONFIRM") frame:SetScript("OnEvent", function(self, event, ...) ConfirmBindOnUse(); end) This can be ran in a profile with Misc\RunLua as well so it just runs with the profile. Or, you can attach it with the HB-API. This is a total hack because I don't know much at all about HB-API PHP: <CustomBehavior File="RunCode"><![CDATA[ Lua.Events.AttachEvent("LOOT_BIND_CONFIRM", ConfirmBind); ]]> </CustomBehavior> <CustomBehavior File="RunCode" Type="Definition" ><![CDATA[ public static void ConfirmBind(object sender = null, LuaEventArgs args = null) { Lua.DoString("ConfirmBindOnUse();"); } ]]> </CustomBehavior>