Skip to content
Outlands Hub

Razor script

Decipher Maps

by jfrostp · 71 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Decipher Maps.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/19e90083-23bc-4a67-9208-367f65d17783 for latest2# Automation by Jaseowns3## Script: Decipher Maps4## Created by: jfrostp#05#############################################6 7@clearignore8@cleardragdrop9for 510     gumpclose11endfor12 13while findtype 5356 backpack as map14    getlabel map mapLabel15    if "100.0%" in mapLabel16    else17        if findtype 'spyglass' backpack18            usetype 'spyglass'19            waitfortarget 20            target map21            waitforgump 'any'22            gumpresponse 423        else24            overhead "No Spyglass!"25            stop26        endif27        28        setvar! mapDone 029        while mapDone = 030            gumpresponse 431            wait 175032            if insysmsg 'do not have any spyglasses of that'33                gumpclose34                wait 50035                if findtype 'spyglass' backpack36                    dclicktype 'spyglass'37                    waitfortarget 30038                    target 'map'39                    waitforgump 'any'40                    gumpresponse 441                    wait 175042                else 43                    overhead "No spyglass!" 5544                    stop45                endif46            endif47            48            getlabel map mapLabel49            if "100.0%" in mapLabel50                setvar! mapDone 151            elseif insysmsg 'you have reached'52                setvar! mapDone 153            endif54        endwhile55    endif56    57    gumpclose58    if findtype 29104 true 2796 as tome59        lift map60        wait 35061        drop tome62        wait 35063    endif64     65    @ignore map66endwhile67gumpclose68removelist 'maps'69overhead "All maps decoded!"70@clearignore71@cleardragdrop