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

Simple Profile help

lam000

New Member
Joined
Jul 12, 2012
Messages
48
Reaction score
0
Hi
I want to create a simple profile
It Shall just use a Makro Thats in the actionbar 1, action 1
Then wait 5seconds and Repait it ( infinity Loop) if the bag just have 2 free slots left
It should send item x and item y and item z to an bank Char
 
Hello!
This thread would be more suited to be in the Community Developer Forums.

If I'm understanding you correctly, you want the macro to repeat while your character *doesn't* have 2 bagslots.
If the player *does* have 2 bagslots, make it mail?


This would be the code you want:
Code:
<While Condition="true >
	<While Condition="(Me.FreeBagSlots != 2)" >
		<Custombehavior File="RunMacro" Macro="/click ActionButton1 " />
		<CustomBehavior File="WaitTimer" WaitTime="5000" />
	</While>
	<CustomBehavior File="ForceSetVendor" DoMail="True" />
</While>




Alternatively, instead of using a macro on your bars, we can use the behavior "RunMacro" to carry out the entire macro.
Code:
<While Condition="true >
	<While Condition="(Me.FreeBagSlots != 2)" >
		<Custombehavior File="RunMacro" Macro=" [B][U]Put your macro here[/U][/B] " />
		<CustomBehavior File="WaitTimer" WaitTime="5000" />
	</While>
	<CustomBehavior File="ForceSetVendor" DoMail="True" />
</While>


With this code, your macro will be repeated every 5 seconds.
Once your bagslots reach exactly 2, the bot will mail.

You can replace != with &lt;= to say "two or less" - that way the bot will respond to mail if you have 1 or 0 bagslots.​
 
Last edited:
Back
Top