Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loop{
- fput "Ask mags for task"
- while line = get
- if line =~ /I need (\w*) rocks\.|I need (\w*) rocks/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("multi", "#{amount},forage rock,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("multi", "#{amount},get rock from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) rusty nails\.|I need (\w*) rusty nails/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("multi", "#{amount},forage rusty nail,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("multi", "#{amount},get nail from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) grasses\.|I need (\w*) grasses/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("multi", "#{amount},forage grass,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("multi", "#{amount},get grass from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) bits of dirt\.|I need (\w*) bits of dirt/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("multi", "#{amount},forage dirt,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("multi", "#{amount},get dirt from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) stems\.|I need (\w*) stems/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("multi", "#{amount},forage stem,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("multi", "#{amount},get stem from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) sticks, branches or limbs\.|I need (\w*) sticks, branches or limbs|I need (\w*) sticks\.|I need (\w*) sticks/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage stick,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get stick from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) pieces of wild corn\.|I need (\w*) pieces of wild corn/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "996")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage corn,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get corn from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) shoe tacks\.|I need (\w*) shoe tacks/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "tack")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage shoe tack,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get tack from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) branches\.|I need (\w*) branches/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage branch,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get branch from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) leaves\.|I need (\w*) leaves/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage leaf,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- Script.run("multi", "#{amount},get leaf from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) limbs\.|I need (\w*) limbs/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage limb,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- Script.run("multi", "#{amount},get limb from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) roots\.|I need (\w*) roots/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage root,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get root from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) bits of sap\.|I need (\w*) bits of sap./
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage sap,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get sap from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) vines\.|I need (\w*) vines/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage vine,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get vine from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) georin grasses\.|I need (\w*) georin grasses/
- amount = $1
- fput "accept task"
- pause; waitrt?
- Script.run("go2", "992")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},forage georin grass,stow r")
- wait_while { running?("multi")}
- pause; waitrt?
- Script.run("go2", "954")
- wait_while { running?("go2")}
- pause; waitrt?
- Script.run("multi", "#{amount},get georin grass from my backpack,give mags")
- wait_while { running?("multi")}
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) acorns\.|I need (\w*) acorns/
- fput "decline task"
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) logs\.|I need (\w*) logs/
- fput "decline task"
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) berries\.|I need (\w*) berries/
- fput "decline task"
- pause; waitrt?
- break
- end
- if line =~ /I need (\w*) weeds\.|I need (\w*) weeds/
- fput "decline task"
- pause; waitrt?
- break
- end
- if line =~ /I am sorry, you must wait before I can give you a task\./
- fput "decline task"
- pause; waitrt?
- break
- end
- end
- pause; waitrt?
- Script.run("mech-lore")
- wait_while { running?("mech-lore")}
- #pause; waitrt?
- #Script.run("buff")
- #wait_while { running?("buff")}
- #fput "perc mana"
- #pause; waitrt?
- #fput "perc moon"
- #pause 31
- pause; waitrt?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement