Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
ASPECT SWITCHER Ensure "Show Only Unlocked" is UNTICKED The script requires ALL aspects to be shown
AspectQuickSwitch UPDATED.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a4dc740f-283d-4f57-b023-10b8f82f32ea for latest2# Automation by Jaseowns3## Script: AspectQuickSwitch (UPDATED)4## Created by: sifmoo#05#############################################6 7// ==================================8// ASPECT SWITCHER9// Ensure "Show Only Unlocked" is UNTICKED10// The script requires ALL aspects to be shown11// ==================================12 13 14@clearsysmsg15 16@setvar! weaponAspect BLOOD17@setvar! armorAspect HARVEST18 19// DONT EDIT THIS LIST ===========================20@setvar AIR 226321@setvar ARCANE 156022@setvar ARTISAN 209623@setvar BLOOD 208724@setvar DEATH 215525@setvar DISCIPLINE 249026@setvar COMMAND 178227@setvar EARTH 276728@setvar ELDRITCH 261529@setvar FIRE 263530@setvar FORTUNE 284331@setvar FROST 223432@setvar GADGET 266933@setvar HARVEST 208634@setvar HOLY 398535@setvar LIGHTNING 265036@setvar LYRIC 224137@setvar MADNESS 106038@setvar POISON 289739@setvar SHADOW 179040@setvar VOID 259941@setvar WATER 259242@setvar WAR 99943// ===============================================44 45 46//open aspect47say '[aspect'48waitforgump 0x907FC735 100049 50//change to overview if necessary51if ingump 'Aspect Details' 0x907FC73552 gumpresponse 103 0x907FC73553 waitforgump 0x907FC735 100054endif55 56//check if on right page57if weaponAspect = GADGET or weaponAspect = HARVEST or weaponAspect = HOLY or weaponAspect = LIGHTNING or weaponAspect = LYRIC or weaponAspect = MADNESS or weaponAspect = POISON or weaponAspect = SHADOW or weaponAspect = VOID or weaponAspect = WAR or weaponAspect = WATER58 if ingump '1/2' 0x907FC73559 gumpresponse 11 0x907FC73560 waitforgump 0x907FC735 100061 endif62else 63 if ingump '2/2' 0x907FC73564 gumpresponse 10 0x907FC73565 waitforgump 0x907FC735 100066 endif67endif68 69//activate weapon aspect70 71if weaponAspect = AIR72 gumpresponse 500 0x907FC73573 waitforgump 0x907FC735 100074 gumpresponse 500 0x907FC73575 waitforgump 0x907FC735 100076elseif weaponAspect = ARCANE77 gumpresponse 501 0x907FC73578 waitforgump 0x907FC735 100079 gumpresponse 501 0x907FC73580 waitforgump 0x907FC735 100081elseif weaponAspect = ARTISAN82 gumpresponse 502 0x907FC73583 waitforgump 0x907FC735 100084 gumpresponse 502 0x907FC73585 waitforgump 0x907FC735 100086elseif weaponAspect = BLOOD87 gumpresponse 503 0x907FC73588 waitforgump 0x907FC735 100089 gumpresponse 503 0x907FC73590 waitforgump 0x907FC735 100091elseif weaponAspect = COMMAND92 gumpresponse 504 0x907FC73593 waitforgump 0x907FC735 100094 gumpresponse 504 0x907FC73595 waitforgump 0x907FC735 100096elseif weaponAspect = DEATH97 gumpresponse 505 0x907FC73598 waitforgump 0x907FC735 100099 gumpresponse 505 0x907FC735100 waitforgump 0x907FC735 1000101elseif weaponAspect = DISCIPLINE102 gumpresponse 506 0x907FC735103 waitforgump 0x907FC735 1000104 gumpresponse 506 0x907FC735105 waitforgump 0x907FC735 1000106elseif weaponAspect = EARTH107 gumpresponse 507 0x907FC735108 waitforgump 0x907FC735 1000109 gumpresponse 507 0x907FC735110 waitforgump 0x907FC735 1000111elseif weaponAspect = ELDRITCH112 gumpresponse 508 0x907FC735113 waitforgump 0x907FC735 1000114 gumpresponse 508 0x907FC735115 waitforgump 0x907FC735 1000116elseif weaponAspect = FIRE117 gumpresponse 509 0x907FC735118 waitforgump 0x907FC735 1000119 gumpresponse 509 0x907FC735120 waitforgump 0x907FC735 1000121elseif weaponAspect = FORTUNE122 gumpresponse 510 0x907FC735123 waitforgump 0x907FC735 1000124 gumpresponse 510 0x907FC735125 waitforgump 0x907FC735 1000126 elseif weaponAspect = FROST127 gumpresponse 511 0x907FC735128 waitforgump 0x907FC735 1000129 gumpresponse 511 0x907FC735130 waitforgump 0x907FC735 1000131 elseif weaponAspect = GADGET132 gumpresponse 500 0x907FC735133 waitforgump 0x907FC735 1000134 gumpresponse 500 0x907FC735135 waitforgump 0x907FC735 1000136 elseif weaponAspect = HARVEST137 gumpresponse 501 0x907FC735138 waitforgump 0x907FC735 1000139 gumpresponse 501 0x907FC735140 waitforgump 0x907FC735 1000141 elseif weaponAspect = HOLY142 gumpresponse 502 0x907FC735143 waitforgump 0x907FC735 1000144 gumpresponse 502 0x907FC735145 waitforgump 0x907FC735 1000146 elseif weaponAspect = LIGHTNING147 gumpresponse 503 0x907FC735148 waitforgump 0x907FC735 1000149 gumpresponse 503 0x907FC735150 waitforgump 0x907FC735 1000151 elseif weaponAspect = LYRIC152 gumpresponse 504 0x907FC735153 waitforgump 0x907FC735 1000154 gumpresponse 504 0x907FC735155 waitforgump 0x907FC735 1000156 elseif weaponAspect = MADNESS157 gumpresponse 505 0x907FC735158 waitforgump 0x907FC735 1000159 gumpresponse 505 0x907FC735160 waitforgump 0x907FC735 1000161 elseif weaponAspect = POISON162 gumpresponse 506 0x907FC735163 waitforgump 0x907FC735 1000164 gumpresponse 506 0x907FC735165 waitforgump 0x907FC735 1000166 elseif weaponAspect = SHADOW167 gumpresponse 507 0x907FC735168 waitforgump 0x907FC735 1000169 gumpresponse 507 0x907FC735170 waitforgump 0x907FC735 1000171 elseif weaponAspect = VOID172 gumpresponse 508 0x907FC735173 waitforgump 0x907FC735 1000174 gumpresponse 508 0x907FC735175 waitforgump 0x907FC735 1000176 elseif weaponAspect = WAR177 gumpresponse 509 0x907FC735178 waitforgump 0x907FC735 1000179 gumpresponse 509 0x907FC735180 waitforgump 0x907FC735 1000181 elseif weaponAspect = WATER182 gumpresponse 510 0x907FC735183 waitforgump 0x907FC735 1000184 gumpresponse 510 0x907FC735185 waitforgump 0x907FC735 1000186 endif187 188 189//check if on right page190if armorAspect = GADGET or armorAspect = HARVEST or armorAspect = HOLY or armorAspect = LIGHTNING or armorAspect = LYRIC or armorAspect = MADNESS or armorAspect = POISON or armorAspect = SHADOW or armorAspect = VOID or armorAspect = WAR or armorAspect = WATER191 if ingump '1/2' 0x907FC735192 gumpresponse 11 0x907FC735193 waitforgump 0x907FC735 1000194 endif195else 196 if ingump '2/2' 0x907FC735197 gumpresponse 10 0x907FC735198 waitforgump 0x907FC735 1000199 endif200endif201 202//Active armor aspect203if armorAspect = AIR204 gumpresponse 600 0x907FC735205 waitforgump 0x907FC735 1000206 gumpresponse 600 0x907FC735207 waitforgump 0x907FC735 1000208elseif armorAspect = ARCANE209 gumpresponse 601 0x907FC735210 waitforgump 0x907FC735 1000211 gumpresponse 601 0x907FC735212 waitforgump 0x907FC735 1000213elseif armorAspect = ARTISAN214 gumpresponse 602 0x907FC735215 waitforgump 0x907FC735 1000216 gumpresponse 602 0x907FC735217 waitforgump 0x907FC735 1000218elseif armorAspect = BLOOD219 gumpresponse 603 0x907FC735220 waitforgump 0x907FC735 1000221 gumpresponse 603 0x907FC735222 waitforgump 0x907FC735 1000223elseif armorAspect = COMMAND224 gumpresponse 604 0x907FC735225 waitforgump 0x907FC735 1000226 gumpresponse 604 0x907FC735227 waitforgump 0x907FC735 1000228elseif armorAspect = DEATH229 gumpresponse 605 0x907FC735230 waitforgump 0x907FC735 1000231 gumpresponse 605 0x907FC735232 waitforgump 0x907FC735 1000233elseif armorAspect = DISCIPLINE234 gumpresponse 606 0x907FC735235 waitforgump 0x907FC735 1000236 gumpresponse 606 0x907FC735237 waitforgump 0x907FC735 1000238elseif armorAspect = EARTH239 gumpresponse 607 0x907FC735240 waitforgump 0x907FC735 1000241 gumpresponse 607 0x907FC735242 waitforgump 0x907FC735 1000243elseif armorAspect = ELDRITCH244 gumpresponse 608 0x907FC735245 waitforgump 0x907FC735 1000246 gumpresponse 608 0x907FC735247 waitforgump 0x907FC735 1000248elseif armorAspect = FIRE249 gumpresponse 609 0x907FC735250 waitforgump 0x907FC735 1000251 gumpresponse 609 0x907FC735252 waitforgump 0x907FC735 1000253elseif armorAspect = FORTUNE254 gumpresponse 610 0x907FC735255 waitforgump 0x907FC735 1000256 gumpresponse 610 0x907FC735257 waitforgump 0x907FC735 1000258 elseif armorAspect = FROST259 gumpresponse 611 0x907FC735260 waitforgump 0x907FC735 1000261 gumpresponse 611 0x907FC735262 waitforgump 0x907FC735 1000263 elseif armorAspect = GADGET264 gumpresponse 600 0x907FC735265 waitforgump 0x907FC735 1000266 gumpresponse 600 0x907FC735267 waitforgump 0x907FC735 1000268 elseif armorAspect = HARVEST269 gumpresponse 601 0x907FC735270 waitforgump 0x907FC735 1000271 gumpresponse 601 0x907FC735272 waitforgump 0x907FC735 1000273 elseif armorAspect = HOLY274 gumpresponse 602 0x907FC735275 waitforgump 0x907FC735 1000276 gumpresponse 602 0x907FC735277 waitforgump 0x907FC735 1000278 elseif armorAspect = LIGHTNING279 gumpresponse 603 0x907FC735280 waitforgump 0x907FC735 1000281 gumpresponse 603 0x907FC735282 waitforgump 0x907FC735 1000283 elseif armorAspect = LYRIC284 gumpresponse 604 0x907FC735285 waitforgump 0x907FC735 1000286 gumpresponse 604 0x907FC735287 waitforgump 0x907FC735 1000288 elseif armorAspect = MADNESS289 gumpresponse 605 0x907FC735290 waitforgump 0x907FC735 1000291 gumpresponse 605 0x907FC735292 waitforgump 0x907FC735 1000293 elseif armorAspect = POISON294 gumpresponse 606 0x907FC735295 waitforgump 0x907FC735 1000296 gumpresponse 606 0x907FC735297 waitforgump 0x907FC735 1000298 elseif armorAspect = SHADOW299 gumpresponse 607 0x907FC735300 waitforgump 0x907FC735 1000301 gumpresponse 607 0x907FC735302 waitforgump 0x907FC735 1000303 elseif armorAspect = VOID304 gumpresponse 608 0x907FC735305 waitforgump 0x907FC735 1000306 gumpresponse 608 0x907FC735307 waitforgump 0x907FC735 1000308 elseif armorAspect = WAR309 gumpresponse 609 0x907FC735310 waitforgump 0x907FC735 1000311 gumpresponse 609 0x907FC735312 waitforgump 0x907FC735 1000313 elseif armorAspect = WATER314 gumpresponse 610 0x907FC735315 waitforgump 0x907FC735 1000316 gumpresponse 610 0x907FC735317 waitforgump 0x907FC735 1000318 endif319pause 50320 321if insysmsg 'do not have a'322 overhead '[ ASPECT ] NO EQUIP' 37323elseif insysmsg 'before activating another'324 overhead '[ ASPECT ] MUST WAIT' 37325elseif insysmsg 'already of that aspect'326 overhead '[ ASPECT ] ALREADY ACTIVE' 37327endif328 329gumpclose 0x907FC735