trollington
New Member
- Joined
- Sep 8, 2011
- Messages
- 10
i want a profile that mills herbs but i cant get it to work, this is the code ive got so far. Please tell me what is wrong, im new to this whole "coding" thing :3
Code:
<Professionbuddy>
<Milling>
<StackItemsAction/>
<If Condition="InbagCount(2453) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Bruiseweed.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="2453" />
</If>
<If Condition="InbagCount(2450) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Briarthorn.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="2450" />
</If>
<If Condition="InbagCount(785) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Mageroyal.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="785" />
</If>
<If Condition="InbagCount(3356) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Kingsblood.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="3356" />
</If>
<If Condition="InbagCount(3355) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Wild Steelbloom.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="3355" />
</If>
<If Condition="InbagCount(3357) > 5" IgnoreCanRun="True" ChildrenCount="2">
<Comment Text="Log("[ProfessionBuddy] Starting with milling Liferoot.");" />
<DisenchantAction ActionType="Mill" ItemTarget="Specific" ItemQuality="Uncommon" ItemId="3357" />
</If>
<CastSpellAction Entry="57703" Repeat="1000" RepeatType="Craftable" />
<CastSpellAction Entry="57706" Repeat="1000" RepeatType="Craftable" />
<MoveToAction MoveType="Location" Pathing="Navigator" Entry="0" X="8854.486" Y="-863.191" Z="99.61028" />
<BuyItemAction NpcEntry="30730" X="8863.968" Y="-861.5417" Z="99.61039" Entry="39354" Count="40" BuyItemType="SpecificItem" />
<BuyItemAction NpcEntry="30730" X="8863.968" Y="-861.5417" Z="99.61039" Entry="10648" Count="40" BuyItemType="SpecificItem" />
<CastSpellAction Entry="48247" Repeat="100" RepeatType="Craftable" />
<CastSpellAction Entry="59480" Repeat="100" RepeatType="Craftable" />
<StackItemsAction/>
</Milling>
<CustomAction Code="Log("[ProfessionBuddy] Profile completed!");" />
</Professionbuddy>