ctomkinson
Member
- Joined
- Sep 21, 2013
- Messages
- 236
Does anyone have a way that the bot would open them as soonas they get them? they stack up a lot. Wethere it be someting i can ad to my grinding profles of a plugin im all ears
<!-- ==CUSTOM HOOKS BEGIN== -->
<!-- OPEN ALL OF THE SHOULDER ENCHANT ITEMS IF FOUND -->
<!-- Open any Scavanged Cloth we get from Boon of the Scavenger. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenCloth" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140220) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140220" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Found Sack of Gems we get from Boon of the Gemfinder. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenGems" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140221) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140221" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Harvested Goods we get from Boon of the Harvester. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenGoods" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140222) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140222" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Butchered Meat we get from Boon of the Butcher. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenMeat" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140224) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140224" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Salvaged Armor we get from Boon of the Salvager. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenArmor" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140225) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140225" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Mana-Tinged Pack we get from Boon of the Manaseeker. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenMana" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140226) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140226" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Bloodhunter's Quarry we get from Boon of the Bloodhunter. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenQuarry" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140227) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="140227" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- Open any Oddly-Shaped Stomachs we get from skinning. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="OpenStomachs" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(129746) > 0 && Me.FreeNormalBagSlots > 5" >
<CustomBehavior File="UseItem" ItemId="129746" />
<CustomBehavior File="WaitTimer" WaitTime="250" />
</CustomBehavior>
<!-- ==CUSTOM HOOKS END== -->
thank you so muchFor my questing profiles I wrote some hooks for opening the items from the shoulder enchants, as well as Oddly-Shaped Stomachs. This was written for the Quest Bot base.
Code:<!-- ==CUSTOM HOOKS BEGIN== --> <!-- OPEN ALL OF THE SHOULDER ENCHANT ITEMS IF FOUND --> <!-- Open any Scavanged Cloth we get from Boon of the Scavenger. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenCloth" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140220) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140220" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Found Sack of Gems we get from Boon of the Gemfinder. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenGems" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140221) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140221" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Harvested Goods we get from Boon of the Harvester. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenGoods" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140222) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140222" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Butchered Meat we get from Boon of the Butcher. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenMeat" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140224) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140224" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Salvaged Armor we get from Boon of the Salvager. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenArmor" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140225) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140225" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Mana-Tinged Pack we get from Boon of the Manaseeker. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenMana" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140226) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140226" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Bloodhunter's Quarry we get from Boon of the Bloodhunter. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenQuarry" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(140227) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="140227" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- Open any Oddly-Shaped Stomachs we get from skinning. --> <CustomBehavior File="Hooks\DoWhen" ActivityName="OpenStomachs" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="GetItemCount(129746) > 0 && Me.FreeNormalBagSlots > 5" > <CustomBehavior File="UseItem" ItemId="129746" /> <CustomBehavior File="WaitTimer" WaitTime="250" /> </CustomBehavior> <!-- ==CUSTOM HOOKS END== -->
Just put it inside of the <QuestOrder></QuestOrder> part of the profile, at the top.