What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

auto accept bind on pick up addon?

Yohaiw

Member
Joined
Aug 13, 2012
Messages
143
Or plug in? for legendary items farming/mounts etc

i looked but didnt find, any help fellas?
 
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:
Back
Top