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

Need quick help, very easy.

Malen

New Member
Joined
Nov 8, 2012
Messages
18
Reaction score
0
I need my script to use the item (110610) when it has at least 10 of it. I have no idea how to make the script do this.
 
But it's easy right ? :p

PHP:
<CustomBehavior File="Hooks\DoWhen" ActivityName="Combine_Motes" UseWhen="GetItemCount(89112) &gt;= 10" AllowUseDuringCombat="true" > <!-- Combine Motes -->
	<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot;[Azyul]: Combining Motes.&quot;);" />
	<CustomBehavior File="UseItem" ItemId="89112" NumOfTimes="500" TerminateWhen="GetItemCount(89112) &lt;= 9" />
</CustomBehavior>

With the compliments of EchoTiger, This for example will auto combine Motes. I'm sure you'll be able to figure out how to modify it by replacing a few ID's.
 
Last edited:
<If InBagCount(110610) &gt;= 10>

Do this

</If>

Depending on your usage one or the other may make or break your script.

<While InBagCount(110610) &gt;= 10>

Do this

</While>
 
Last edited:
Back
Top