'nother update! if you change the line in sub main that read
Code: Select all
/call makecheeseCode: Select all
/call makecheese2Code: Select all
/call makecheeseCode: Select all
/call makecheese2Code: Select all
| Calc profit in gold
/varcalc v51 $char(plat)*10+$char(gold)-$v50
Code: Select all
/varcalc v50 $char(plat)*10+$char(gold)
Code: Select all
Sub Main
/afk Working on trade skills.
/filter skills none
/stand
/varcalc v50 $char(plat)*10+$char(gold)
/mqlog $v50gp to start
Code: Select all
Sub SellBuy
| Open merchant
/click left auto
/target Granger
/face
/press u
/varset v55 0
:sellwait
/doevents
/if n $v55!=1 /goto :sellwait
/sendkey down shift
| Sell our cheese
:SellCheese
/finditem "Mature Cheese"
/if $find()==FALSE /goto :DoneSelling
/call buyitem
/goto :SellCheese
:DoneSelling
/varset v51 0
/finditem "Rennet"
/if $find()==TRUE /varset v51 1
/finditem "Bottle of Milk"
/if $find()==TRUE /if n $v80!=$find(pack) /goto :SkipMilk
| Buy Bottles of Milk
/click left merchant 9
/call buyitem
/call buyitem
/call buyitem
/call buyitem
| If we had Rennet left, buy extra milk
/if $v51==0 /goto :SkipMilk
/call buyitem
:SkipMilk
| Buy Rennets
/click left merchant 10
/call buyitem
/call buyitem
/sendkey up shift
/cleanup
:cleanuploop1
/if "$target()"=="TRUE" /goto :cleanuploop1
/return
Code: Select all
| If we had Rennet left, buy extra milk
/if $v51==0 /goto :SkipMilk
/call buyitem
:SkipMilk