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

PB Script to Send All Mail

kbrebel04

New Member
Joined
Dec 15, 2011
Messages
294
Reaction score
3
What of this script do i need to change so it will send all of my remaining mail to my Banker?


Code:
<SubRoutine SubRoutineName="MailBank">
 <Mail Items to Banker>
 <If Condition="false || !string.IsNullOrEmpty((string)Settings[&quot;Banker&quot;]) &amp;&amp; (InbagCount([B][COLOR="#FF0000"]ITEM#[/COLOR][/B]) &gt;= 1 || InbagCount([B][COLOR="#FF0000"]ITEM#[/COLOR][/B]) &gt;= 1 || InbagCount([B][COLOR="#FF0000"]ITEM#[/COLOR][/B]) &gt;= 1)" IgnoreCanRun="True">
      <CustomAction Code="Log (Color.Crimson,&quot;AHBuddy: &quot;,Color.BlanchedAlmond,&quot;Sending stuff to {0}.&quot;,(string)Settings[&quot;Banker&quot;]);" />
      <CustomAction Code="var1 = CharacterSettings.Instance.MailRecipient;" />
      <CustomAction Code="CharacterSettings.Instance.MailRecipient = (string)Settings[&quot;Banker&quot;];" />
      <!--All Styff-->
      <MailItemAction Category="TradeGoods" SubCategoryType="WoWItemTradeGoodsClass" SubCategory="None" Mail="All" UseCategory="False" ItemID="0" Amount="0" AutoFindMailBox="True" Location="0, 0, 0" />
      <WaitAction Condition="false" Timeout="500" />
      <CustomAction Code="CharacterSettings.Instance.MailRecipient = (string)var1;" />
  </If>
</SubRoutine>

Reason I need this is I have 2 Farmers sending their Mats to a Sorting Character(sends ore to JC, herbs to Scribe and remaining to banker). I need the sorter to send anything that isnt a herb or ore to my Banker
 
Last edited:
Back
Top