Skip to content
Outlands Hub

Razor script

Omni Result Scanner

by jesaug205 · 114 lines
Download

(by Deathroll)

Omni Result Scanner.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c60257d0-cce2-4042-93da-34c77eced6cf for latest2# Automation by Jaseowns3## Script: Omni Result Scanner4## Created by: jesaug205#05#############################################6 7//OMNI RESULT SCANNER (by Deathroll)8 9//Character scanning must belong to a participating guild10//Scanning characters guild must be on the damage results for the first link of the omni11 12 13 14//_______________15//SET NUMBER OF OMNIS (MAX 10)  <---------- ONLY SETTING YOU DO!16@setvar omnicount 117//_______________18 19 20 21 22if findtype 41456 ground any any 2 2867 as distrochest23    dclick distrochest24    waitforgump 286566742325else 26    overhead 'Get closer to a distro chest'27    stop28endif29//If you really dont want the script to clear results for some reason, change "clearresults" to 030@setvar clearresults 131@setvar run 132@setvar gumpsearch 033@setvar loopcount 034say '[bossresults'35waitforgump 189229315536 37if clearresults == 138    while ingump 'Page' 286566742339    gumpresponse 10 286566742340    waitforgump 286566742341    endwhile42    for 1043    gumpresponse 10 286566742344    waitforgump 286566742345    endfor46endif47 48while run = 149overhead 'Scanning for an Omni...'50wait 50051 52    while gumpsearch == 053        while not ingump 'Results for Mastery Chain Link' 189229315554        gumpresponse 2 189229315555        waitforgump 189229315556        endwhile57        @clearsysmsg 58        gumpresponse 11 189229315559        waitforgump 189229315560            if not insysmsg 'Your guild did not participate in this portion of the omni boss fight'61                overhead 'Omni found! Adding results...'62                for 4363                gumpresponse 7 286566742364                waitforgump 286566742365                gumpresponse 5 189229315566                waitforgump 189229315567                endfor68                        overhead 'Results added successfully!'69                        gumpresponse 2 189229315570                        waitforgump 189229315571                        @setvar gumpsearch 172            else 73            overhead 'Not our Omni! Skipping...'74            wait 1000  75            gumpresponse 2 189229315576            waitforgump 189229315577            endif78    endwhile79    @setvar gumpsearch 080 81 82        if loopcount == 083            @setvar loopcount 184        elseif loopcount == 185            @setvar loopcount 286        elseif loopcount == 287            @setvar loopcount 388        elseif loopcount == 389            @setvar loopcount 490        elseif loopcount == 491            @setvar loopcount 592        elseif loopcount == 593            @setvar loopcount 694        elseif loopcount == 695            @setvar loopcount 796        elseif loopcount == 797            @setvar loopcount 898        elseif loopcount == 899            @setvar loopcount 9100        elseif loopcount == 9101            @setvar loopcount 10102        else103            overhead 'Unknown error, terminating script'104        stop105        endif106 107        if loopcount == omnicount108            @setvar run 0109        endif110    111endwhile112 113gumpclose 1892293155114overhead 'Operation completed. Ending script.'