Page 1 of 1

Equipt question

Posted: Fri Jun 04, 2010 12:50 am
by bullit0
it's possible for the bot to equip unbound items (which you usually get from drops)?
you must accept this.

Re: Equipt question

Posted: Fri Jun 04, 2010 5:32 am
by rock5
I've been able to figure out that the frame is called "StaticPopup1" and the accept button is called "StaticPopup1Button1". All you need to do now is figure out what function is called when clicking that button. I haven't been able to figure it out.

Re: Equipt question

Posted: Fri Jun 04, 2010 6:15 am
by bullit0
yes it works. great THX

inventory:useItem(xxx);
sendMacro("StaticPopup_OnClick(StaticPopup1, 1);");

http://www.theromwiki.com/API:StaticPopup_OnClick

Re: Equipt question

Posted: Fri Jun 04, 2010 6:29 am
by rock5
bullit0 wrote:yes it works. great THX

inventory:useItem(xxx);
sendMacro("StaticPopup_OnClick(StaticPopup1, 1);");

http://www.theromwiki.com/API:StaticPopup_OnClick
I missed that one. Great! That should be a solution for other popups too.

Re: Equipt question

Posted: Fri Jun 04, 2010 6:37 am
by bullit0
rock5 wrote:That should be a solution for other popups too.
how can be called popup for binding items