Skip to content
Outlands Hub

Razor script

Walk and chop logs

by golfinh0 · 106 lines
Download

SETUP: Have a trap pouch in your bag On Razor: Agents -> "Organizer 20"; Add Target -> in game click on any Log Right click on the Logs and select by Type Change the below line to adjust with your recall setup: i.e.: [RecallCharge…

GatheringCombatOrganizingTracking
Walk and chop logs.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/164a9333-0ba2-473b-b3b1-cde94aebcd57 for latest2# Automation by Jaseowns3## Script: Walk and chop logs4## Created by: golfinh0#05#############################################6 7# author: golfinho8# SETUP:9# Have a trap pouch in your bag10# On Razor: 11#   Agents -> "Organizer 20"; 12#   Add Target -> in game click on any Log13#   Right click on the Logs and select by Type14# Change the below line to adjust with your recall setup: i.e.:15#   [RecallCharge <rune-name> 16#   call script with `script <script-name>`17 18# Recall home19if recall = 120    clearignore21    @setvar! recall 022    # script 'recall'23    say '[Recall Wagon' 24endif25 26 27if not timerexists 'logs_organizer'28    createtimer 'logs_organizer'29 30    if findtype 'pouch' backpack 38 -1 -1 as _pouch31        organizer 20 set 32        wft33        target _pouch34    endif35endif36 37// Reset every 10 seconds38if timer 'logs_organizer' > 1000039    organizer 2040    wait 100041    settimer 'logs_organizer' 042endif43 44 45# If hand is empty grab a hatchet in the bag46if lhandempty and findtype 'hatchet' backpack as _hatchet47    dclick _hatchet48elseif not findlayer self lefthand49    sysmsg "No hatchet found!" 3850    @setvar! recall 151    loop52endif53 54if skill 'Tracking' > 0 and not findbuff 'Tracking Hunting'55    @setvar! tracking_gump 426746765956 57    while not gumpexists tracking_gump58        useskill 'Tracking'59        waitforgump tracking_gump 50060    endwhile61 62    while not insysmsg "You will now hunt all hostile players."63        gumpresponse 8 tracking_gump64        waitforgump tracking_gump 50065    endwhile66    67    gumpresponse 6 tracking_gump68    waitforgump tracking_gump 50069    gumpclose tracking_gump70    @setvar! now_tracking_pk 071endif72 73if not hidden74    hotkey 'use item in hand'75    wft 500076    target self77endif78 79while not insysmsg "You chop some" and not insysmsg "You hack at"80    if insysmsg "Now tracking:"81        overhead "**PK**" 3882        @setvar! recall 183        loop84    endif85    86    if findtype 'map' backapck 87        wait 50088        loop89    endif90    91    if insysmsg "You do not see any" or hidden92        wait 25093        break94    endif95    96    if findtype 'pouch' backpack 38 -1 -1 as _pouch97    else98        overhead "**ATTENTION PICKPOCKET**" 3899        skill 'Hiding'100        @setvar! recall 1101        break102    endif103    wait 500104endwhile105 106loop