Bapeths Leather / Plate Hotswapping Upload Date : December 30th 2024 This script will toggle leather or plate on in a single press It requires that you have two sets of armor on your person, one leather and one plate Use this when you want…
Bapeths Leather Plate Hot swapping script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/b8050e2e-9817-42e3-ab55-f25826f07769 for latest2# Automation by Jaseowns3## Script: Bapeths Leather / Plate Hot swapping script4## Created by: barryroser#05#############################################6 7# Bapeths Leather / Plate Hotswapping8#9# Upload Date : December 30th 202410#11# This script will toggle leather or plate on in a single press12# It requires that you have two sets of armor on your person, one leather and one plate13#14# Use this when you want to avoid Blast damage, or auto swap between leather/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 "MBchest" self105 hotkey "Set Last Target"106 wft 500107 overhead "Set Leather Chest..." 78108 while targetexists 109 //do nothing110 endwhile111 @setvar "MBchest" lasttarget 112 getlabel "MBchest" desc113 if "leather chest" in desc114 //donothing115 else 116 @unsetvar "MBchest"117 replay118 endif119endif120if not find "MBleggings" self121 hotkey "Set Last Target"122 wft 500123 overhead "Set Leather Leggings..." 78124 while targetexists 125 //donothing126 endwhile127 @setvar "MBleggings" lasttarget 128 getlabel "MBleggings" desc129 if "leather leggings" in desc130 //donothing131 else 132 @unsetvar "MBleggings"133 replay134 endif135endif136if not find "MBgloves" self137 hotkey "Set Last Target"138 wft 500139 overhead "Set Leather Gloves..." 78140 while targetexists 141 //donothing142 endwhile143 @setvar "MBgloves" lasttarget 144 getlabel "MBgloves" desc145 if "leather gloves" in desc146 //donothing147 else 148 @unsetvar "MBgloves"149 replay150 endif151endif152if not find "MBarms" self153 hotkey "Set Last Target"154 wft 500155 overhead "Set Leather Arms..." 78156 while targetexists 157 //donothing158 endwhile159 @setvar "MBarms" lasttarget 160 getlabel "MBarms" desc161 if "leather arms" in desc162 //donothing163 else 164 @unsetvar "MBarms"165 replay166 endif167endif168if not find "MBgorget" self169 hotkey "Set Last Target"170 wft 500171 overhead "Set Leather Gorget..." 78172 while targetexists 173 //donothing174 endwhile175 @setvar "MBgorget" lasttarget 176 getlabel "MBgorget" desc177 if "leather gorget" in desc178 //donothing179 else 180 @unsetvar "MBgorget"181 replay182 endif183endif184 185if not timerexists pvparon186 overhead "Equipping Leather" 88187 createtimer pvparon188 removetimer pvparoff189 while find "MBchest" backpack190 dclick "MBchest"191 while queued192 //donothing193 endwhile194 endwhile195 while find "MBgloves" backpack196 dclick "MBgloves"197 while queued198 //donothing199 endwhile200 endwhile201 while find "MBleggings" backpack202 dclick "MBleggings"203 while queued204 //donothing205 endwhile206 endwhile207 while find "MBarms" backpack208 dclick "MBarms"209 while queued210 //donothing211 endwhile212 endwhile213 while find "MBgorget" backpack214 dclick "MBgorget"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