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

Profession Buddy Specified Mailing

bigbadaboom

New Member
Joined
Dec 30, 2010
Messages
103
Reaction score
0
I am currently using the 1-525 Flying Mine and Herb profile in ProfessionBuddy.

Wondering if it's possible to change the script to only sell Herbs on AH and mail Metal, Stones, and Gems to my alt?

Which part of the script should I be changing?

Thanks
 
Mailing items XXXX, YYYYY, ZZZZZ to Recipient:
Code:
<While Condition="InbagCount(XXXXX)>0||InbagCount(YYYYY)>0||InbagCount(ZZZZZ)>0" IgnoreCanRun="True">
<CustomAction Code="Lua.DoString(&quot;MailFrameTab_OnClick(0,2) local c, l,n=0 for b=0,4 do for s=1,32 do n=GetContainerItemID(b,s) if n==XXXXX or n==YYYYY or n==ZZZZZ then UseContainerItem(b,s) c=c+1 end end end  if c&gt;0 then SendMail('Recipient','Subj')end&quot;);" />
</While>

String in "Lua.DoString(...)" do not over 255 simbols.
 
Back
Top