Flu Lumber by flutschi
Related: Lumberjacking
#its basescript is jasonowns one, just edited for my taste
clearsysmsg
#this is when u want to summon something
while casting
overhead 'casting..'
pause 1000
endwhile
if lhandempty ?? 0
if findtype "hatchet" backpack
dclicktype 'hatchet' backpack
wait 200
endif
endif
if lhandempty ?? 0
overhead "No more hatchets!" 34
replay
endif
# flu stuff
if findtype 7133 backpack as log
dclick log
endif
if not findbuff 'tracking'
overhead 'i should track..'
while not gumpexists 4267467659
useskill 'tracking'
wait 250
endwhile
if gumpexists 4267467659
while not insysmsg "You will now hunt all hostile players."
gumpresponse 8 4267467659
waitforgump 4267467659 5000
endwhile
gumpresponse 6 4267467659
wait 1000
clearsysmsg
endif
gumpclose 4267467659
endif
wait 200
organizer 2
wait 500
overhead 'Lumberjacking' 0
hotkey 'Use item in hand'
wft 1000
hotkey 'Target Self'
for 75
wait 100
if insysmsg 'Now tracking' or insysmsg 'Distance'
guild 'pk coming..'
#xy
script 'recallHome'
stop
endif
if insysmsg 'world is saving'
for 30
overhead 'Waiting for world save...'
wait 1000
if insysmsg 'save complete'
overhead 'Save complete - continue on!' 88
clearsysmsg
wait 250
replay
endif
endfor
elseif lhandempty ?? 0
overhead "Broke axe" 34
replay
elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any wood'
overhead 'Move to next spot' 88
wait 250
replay
elseif insysmsg "travel"
overhead 'Waiting for travel...'
wait 1000
replay
else
if insysmsg "any harvestable"
overhead 'Move to next spot' 88
replay
elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"
replay
elseif insysmsg "world is saving" or insysmsg 'World save complete'
replay
elseif insysmsg "You hack"
replay
elseif insysmsg "You chop"
replay
elseif insysmsg "You must wait"
overhead 'You must wait..' 34
wait 500
replay
endif
endif
endfor
if insysmsg "You must wait"
wait 500
replay
endif
overhead 'Captcha break!' 34
for 20
overhead 'Awaiting Captcha...' 34
wait 1000
if insysmsg 'Captcha successful'
overhead 'Success - continue on!' 88
wait 1000
replay
endif
endfor
overhead 'Stopping script' 34