Back to "lumberjacking" skill

Simplified Lumberjacking to avoid thieves by Jaseowns

# Simplified Lumberjacking to avoid thieves by Jaseowns # UO Outlands # Requirements: # organizer 2 as lumber and wood planks if not varexist needToOrganize @setvar! needToOrganize 0 endif sysmsg needToOrganize clearsysmsg if needToOrganize = 1 @setvar! needToOrganize 0 organizer 2 while queued wait 50 endwhile endif if lhandempty ?? 0 if findtype "hatchet" backpack dclicktype 'hatchet' backpack wait 200 endif endif if lhandempty ?? 0 overhead "No more hatchets!" 34 replay endif wait 500 overhead 'Lumberjacking' 0 hotkey 'Use item in hand' wft 1000 hotkey 'Target Self' for 75 wait 100 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 "You chop" // Success if needToOrganize = 0 @setvar! needToOrganize 1 elseif needToOrganize = 1 @setvar! needToOrganize 2 elseif needToOrganize = 2 @setvar! needToOrganize 3 endif replay elseif insysmsg "any harvestable" // No Ore overhead 'Move to next spot' 88 replay elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed" // Gained skill replay elseif insysmsg "world is saving" or insysmsg 'World save complete' // World Save replay elseif insysmsg "You hack" // Failed replay elseif insysmsg "You chop" // Success if needToOrganize = 0 @setvar! needToOrganize 1 elseif needToOrganize = 1 @setvar! needToOrganize 2 elseif needToOrganize = 2 @setvar! needToOrganize 3 endif replay elseif insysmsg "You must wait" // Wait message overhead 'You must wait..' 34 wait 500 replay endif endif endfor if insysmsg "You must wait" // Wait message overhead 'You must wait..' 34 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