Skip to content
Outlands Hub

Razor script

Bapeths Bone / Plate Hot swapping script

by barryroser · 257 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.

Bapeths bone / Plate Hotswapping Upload Date : December 30th 2024 This script will toggle bone or plate on in a single press It requires that you have two sets of armor on your person, one bone and one plate Use this when you want to avoid…

Bapeths Bone Plate Hot swapping script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/353916da-248b-4b18-924d-b28dc9998e87 for latest2# Automation by Jaseowns3## Script: Bapeths Bone / Plate Hot swapping script4## Created by: barryroser#05#############################################6 7# Bapeths bone / Plate Hotswapping8#9# Upload Date : December 30th 202410#11# This script will toggle bone or plate on in a single press12# It requires that you have two sets of armor on your person, one bone and one plate13#14# Use this when you want to avoid Blast damage, or auto swap between bone/plate for any reason15#16# Script starts here...17 18clearall 19while queued20    //donothing21endwhile22 23if not find "NoMBchest" self24    hotkey "Set Last Target"25    wft 50026    overhead "Set Plate Chest..." 8827    while targetexists 28        //do nothing29    endwhile30    @setvar "NoMBchest" lasttarget 31    getlabel "NoMBchest" desc32    if "platemail chest" in desc33        //donothing34    else 35        @unsetvar "NoMBchest"36        replay37    endif38endif39if not find "NoMBleggings" self40    hotkey "Set Last Target"41    wft 50042    overhead "Set Plate Leggings..." 8843    while targetexists 44        //donothing45    endwhile46    @setvar "NoMBleggings" lasttarget 47    getlabel "NoMBleggings" desc48    if "platemail leggings" in desc49        //donothing50    else 51        @unsetvar "NoMBleggings"52        replay53    endif54endif55if not find "NoMBgloves" self56    hotkey "Set Last Target"57    wft 50058    overhead "Set Plate Gloves..." 8859    while targetexists 60        //donothing61    endwhile62    @setvar "NoMBgloves" lasttarget 63    getlabel "NoMBgloves" desc64    if "platemail gloves" in desc65        //donothing66    else 67        @unsetvar "NoMBgloves"68        replay69    endif70endif71if not find "NoMBarms" self72    hotkey "Set Last Target"73    wft 50074    overhead "Set Plate Arms..." 8875    while targetexists 76        //donothing77    endwhile78    @setvar "NoMBarms" lasttarget 79    getlabel "NoMBarms" desc80    if "platemail arms" in desc81        //donothing82    else 83        @unsetvar "NoMBarms"84        replay85    endif86endif87if not find "NoMBgorget" self88    hotkey "Set Last Target"89    wft 50090    overhead "Set Plate Gorget..." 8891    while targetexists 92        //donothing93    endwhile94    @setvar "NoMBgorget" lasttarget 95    getlabel "NoMBgorget" desc96    if "platemail gorget" in desc97        //donothing98    else 99        @unsetvar "NoMBgorget"100        replay101    endif102endif103 104if not find "boneMBchest" self105    hotkey "Set Last Target"106    wft 500107    overhead "Set bone Chest..." 78108    while targetexists 109        //do nothing110    endwhile111    @setvar "boneMBchest" lasttarget 112    getlabel "boneMBchest" desc113    if "bone chest" in desc114        //donothing115    else 116        @unsetvar "boneMBchest"117        replay118    endif119endif120if not find "boneMBleggings" self121    hotkey "Set Last Target"122    wft 500123    overhead "Set bone Leggings..." 78124    while targetexists 125        //donothing126    endwhile127    @setvar "boneMBleggings" lasttarget 128    getlabel "boneMBleggings" desc129    if "bone legs" in desc130        //donothing131    else 132        @unsetvar "boneMBleggings"133        replay134    endif135endif136if not find "boneMBgloves" self137    hotkey "Set Last Target"138    wft 500139    overhead "Set bone Gloves..." 78140    while targetexists 141        //donothing142    endwhile143    @setvar "boneMBgloves" lasttarget 144    getlabel "boneMBgloves" desc145    if "bone gloves" in desc146        //donothing147    else 148        @unsetvar "boneMBgloves"149        replay150    endif151endif152if not find "boneMBarms" self153    hotkey "Set Last Target"154    wft 500155    overhead "Set bone Arms..." 78156    while targetexists 157        //donothing158    endwhile159    @setvar "boneMBarms" lasttarget 160    getlabel "boneMBarms" desc161    if "bone arms" in desc162        //donothing163    else 164        @unsetvar "boneMBarms"165        replay166    endif167endif168if not find "boneMBgorget" self169    hotkey "Set Last Target"170    wft 500171    overhead "Set bone Gorget..." 78172    while targetexists 173        //donothing174    endwhile175    @setvar "boneMBgorget" lasttarget 176    getlabel "boneMBgorget" desc177    if "bone gorget" in desc178        //donothing179    else 180        @unsetvar "boneMBgorget"181        replay182    endif183endif184 185if not timerexists pvparon186    overhead "Equipping Bone" 88187    createtimer pvparon188    removetimer pvparoff189    while find "boneMBchest" backpack190        dclick "boneMBchest"191        while queued192            //donothing193        endwhile194    endwhile195    while find "boneMBgloves" backpack196        dclick "boneMBgloves"197        while queued198            //donothing199        endwhile200    endwhile201    while find "boneMBleggings" backpack202        dclick "boneMBleggings"203        while queued204            //donothing205        endwhile206    endwhile207    while find "boneMBarms" backpack208        dclick "boneMBarms"209        while queued210            //donothing211        endwhile212    endwhile213    while find "boneMBgorget" backpack214        dclick "boneMBgorget"215        while queued216            //donothing217        endwhile218    endwhile219    stop220endif  221 222if not timerexists pvparoff223    overhead "Equipping Plate" 38224    createtimer pvparoff225    removetimer pvparon226    while find "NoMBchest" backpack227        dclick "NoMBchest"228        while queued229            //donothing230        endwhile231    endwhile232    while find "NoMBgloves" backpack233        dclick "NoMBgloves"234        while queued235            //donothing236        endwhile237    endwhile238    while find "NoMBleggings" backpack239        dclick "NoMBleggings"240        while queued241            //donothing242        endwhile243    endwhile244    while find "NoMBarms" backpack245        dclick "NoMBarms"246        while queued247            //donothing248        endwhile249    endwhile250    while find "NoMBgorget" backpack251        dclick "NoMBgorget"252        while queued253            //donothing254        endwhile255    endwhile256    stop257endif