MATERIAL HUES ############ Leather/Board Log/Iron 0 Dullhide/Dullwood/Dull Copper 2419 Shadowhide/Shadowwood/Shadow Iron 2406 Copperhide/Copperwood/Copper 2413 Bronzehide/Bronzewood/Bronze 2418 Goldenhide/Goldenwood/Gold 2213…
Gathering
Auto Equip Weapons Armor Satchel and Aspect Dress.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/fcdb0d04-f69a-4708-9eb6-66a0d45495ea for latest2# Automation by Jaseowns3## Script: Auto Equip Weapons, Armor, Satchel, and Aspect (Dress)4## Created by: mushnar#05#############################################6 7#######################################8############ MATERIAL HUES ############9#Leather/Board Log/Iron 010#Dullhide/Dullwood/Dull Copper 241911#Shadowhide/Shadowwood/Shadow Iron 240612#Copperhide/Copperwood/Copper 241313#Bronzehide/Bronzewood/Bronze 241814#Goldenhide/Goldenwood/Gold 221315#Rosehide/Rosewood/Agapite 242516#Verehide/Verewood/Verite 220717#Valehide/Valewood/Valorite 221918#Avarhide/Avarwood/Avarite 176319#######################################20 21 22 23#Set the base material hue for your weapon and armor24#Found with the >info command and targetting the armor or the table above25@setvar! weapon_material_hue 026@setvar! armor_material_hue 027@setvar! satchel_hue 028 29 30#Set the armor type used to 131@setvar! leather_armor 032@setvar! bone_armor 033@setvar! studded_armor 034@setvar! ringmail_armor 035@setvar! chainmail_armor 036@setvar! plate_armor 137 38 39#Set the weapon type used to 140@setvar! arcane 041@setvar! archery 042@setvar! fencing 043@setvar! mace_fighting 044@setvar! magery 045@setvar! swordsmanship 146@setvar! wrestling 047 48 49#Set shield to 1 only if you use a shield50@setvar! shield 051 52 53#Set the satchel type used to 154@setvar! potion_satchel 155@setvar! wizard_satchel 056 57 58 59#Set to 0 if you do not want the script to automatically equip your aspect60#Set the name of the aspect for your Weapon and Armor61@setvar! auto_equip_aspect 162 63#DOES NOT WORK YET DO NOT USE - EDIT LINE 403 & 41364#@setvar! weapon_aspect_type "Holy"65#@setvar! armor_aspect_type "Holy"66 67 68 69 70###############################################71##### DEFAULT GLOBAL VALUES DO NOT CHANGE #####72@setvar! armor_aspect_equipped 073@setvar! weapon_aspect_equipped 074 75 76@setvar! all_armor_equipped 077@setvar! pants_equipped 078@setvar! chest_equipped 079@setvar! helmet_equipped 080@setvar! gloves_equipped 081@setvar! arms_equipped 082@setvar! neck_equipped 083 84 85@setvar! weapon_equipped 0 86@setvar! shield_equipped 087@setvar! satchel_equipped 088 89 90removetimer "time_out"91if not timerexists "time_out"92 createtimer "time_out"93 settimer "time_out" 094endif95###############################################96 97 98 99############################100#### BEGIN ARMOR DRESS #####101while all_armor_equipped = 0102 103 #Leather Armor104 if leather_armor = 1 105 if findtype 5061|5063|5070|5074|5075|7169|7175|7177|7179|7610|31191 backpack armor_material_hue as found_armor106 getlabel found_armor description107 108 if "exceptional" in description109 dclick found_armor110 @setvar! found_armor 0111 endif112 endif113 endif114 115 116 #Bone Armor117 if bone_armor = 1118 if findtype 5078|5201|5203|5204|5205|5207|7177|31003|31004 backpack armor_material_hue as found_armor119 getlabel found_armor description120 121 if "exceptional" in description122 dclick found_armor123 @setvar! found_armor 0124 endif125 endif126 endif127 128 129 #Studded Armor130 if studded_armor = 1 131 if findtype 5076|5078|5085|5089|5090|7170|7177|7181|7610|31011|31012 backpack armor_material_hue as found_armor132 getlabel found_armor description133 134 if "exceptional" in description135 dclick found_armor136 @setvar! found_armor 0137 endif138 endif139 endif140 141 142 #Ringmail Armor143 if ringmail_armor = 1144 if findtype 5078|5101|5103|5105|5106|5131|7177|7947|31009|31010 backpack armor_material_hue as found_armor145 getlabel found_armor description146 147 if "exceptional" in description148 dclick found_armor149 @setvar! found_armor 0150 endif151 endif152 endif153 154 155 #Chainmail Armor156 if chainmail_armor = 1 157 if findtype 5056|5059|5060|5063|5103|5106|7177|31005|31006|31007|31015 backpack armor_material_hue as found_armor158 getlabel found_armor description159 160 if "exceptional" in description161 dclick found_armor162 @setvar! found_armor 0163 endif164 endif165 endif166 167 168 #Plate Armor169 if plate_armor = 1170 if findtype 5129|5132|5135|5138|5139|5142|5143|5144|5146|7173|7177|31008 backpack armor_material_hue as found_armor171 getlabel found_armor description172 173 if "exceptional" in description174 dclick found_armor175 @setvar! found_armor 0176 endif177 endif178 endif179 180 181 if findlayer self 'pants' as equipped_item182 @setvar! pants_equipped 1183 endif184 185 if findlayer self 'innertorso' as equipped_item186 @setvar! chest_equipped 1187 endif188 189 190 if findlayer self 'head' as equipped_item191 @setvar! helmet_equipped 1192 endif193 194 195 if findlayer self 'gloves' as equipped_item196 @setvar! gloves_equipped 1197 endif198 199 200 if findlayer self 'arms' as equipped_item201 @setvar! arms_equipped 1202 endif203 204 205 if findlayer self 'neck' as equipped_item206 @setvar! neck_equipped 1207 endif208 209 if pants_equipped = 1 and chest_equipped = 1 and helmet_equipped = 1 and gloves_equipped = 1 and arms_equipped = 1 and neck_equipped = 1210 @setvar all_armor_equipped 1211 endif212 213 if timer "time_out" >= 10000214 overhead "ERROR - Script Timed Out" 33215 stop216 endif217endwhile218##### END ARMOR DRESS #####219###########################220 221 222 223##############################224##### BEGIN WEAPON DRESS #####225while weapon_equipped = 0226 227 #Arcane Staffs228 if arcane = 1229 if lhandempty230 if findtype 31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055 backpack weapon_material_hue as found_weapon231 getlabel found_weapon description232 233 if "exceptional" in description234 dclick found_weapon235 @setvar! found_weapon 0236 endif237 endif238 endif239 endif240 241 242 #Archery Weapons243 if archery = 1244 if lhandempty245 if findtype 3920|5042|5117|30990|30993|30994|30995|31184|31186 backpack weapon_material_hue as found_weapon246 getlabel found_weapon description247 248 if "exceptional" in description249 dclick found_weapon250 @setvar! found_weapon 0251 endif252 endif253 endif254 endif255 256 257 #Fencing Weapons258 if fencing = 1259 if lhandempty260 if findtype 3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188 backpack weapon_material_hue as found_weapon261 getlabel found_weapon description262 263 if "exceptional" in description264 dclick found_weapon265 @setvar! found_weapon 0266 endif267 endif268 endif269 endif270 271 272 #Mace Fighting Weapons273 if mace_fighting = 1274 if lhandempty275 if findtype 3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182 backpack weapon_material_hue as found_weapon276 getlabel found_weapon description277 278 if "exceptional" in description279 dclick found_weapon280 @setvar! found_weapon 0281 endif282 endif283 endif284 endif285 286 287 #Magery Weapons288 if magery = 1289 if lhandempty290 if findtype 3570|3571|3572|3573|3834 backpack weapon_material_hue as found_weapon291 getlabel found_weapon description292 293 if "exceptional" in description294 dclick found_weapon295 @setvar! found_weapon 0296 endif297 endif298 endif299 endif300 301 302 #Swordsmanship Weapons303 if swordsmanship = 1304 if lhandempty305 if findtype 3907|3908|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190 backpack weapon_material_hue as found_weapon306 getlabel found_weapon description307 308 if "exceptional" in description309 dclick found_weapon310 @setvar! found_weapon 0311 endif312 endif313 endif314 endif315 316 317 #Wrestling Weapons318 if wrestling = 1319 if lhandempty320 if findtype 3907|3908|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190 backpack weapon_material_hue as found_weapon321 getlabel found_weapon description322 323 if "exceptional" in description324 dclick found_weapon325 @setvar! found_weapon 0326 endif327 endif328 endif329 endif330 331 332 if findlayer self 'lefthand' as checkitem333 @setvar! weapon_equipped 1334 endif335 336 if timer "time_out" >= 10000337 overhead "ERROR - Script Timed Out" 33338 stop339 endif340endwhile341##### END WEAPON DRESS #####342############################343 344 345 346 347##############################348##### BEGIN SHIELD DRESS #####349#Shields350if shield = 1351 while shield_equipped = 0352 if lhandempty353 if findtype 7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130 backpack weapon_material_hue as found_shield354 getlabel found_shield description355 356 if "exceptional" in description357 dclick found_shield358 @setvar! found_shield 0359 endif360 endif361 endif362 363 if findlayer self 'righthand' as checkitem364 @setvar! shield_equipped 1365 endif366 endwhile367endif368##### END SHIELD DRESS #####369############################370 371 372 373##############################374##### BEGIN SATCHEL DRESS #####375if satchel_equipped = 0376 if potion_satchel = 1377 if findtype 31262 backpack satchel_hue as satchel378 lift satchel379 wait 100380 drop "self" OuterBody381 wait 100382 dclick satchel383 384 @setvar! satchel_equipped 1385 endif386 endif387 388 389 if wizard_satchel = 1390 if findtype 30765 backpack satchel_hue as satchel391 lift satchel392 wait 100393 drop "self" OuterBody394 wait 100395 dclick satchel396 397 @setvar! satchel_equipped 1398 endif399 endif400endif401##### END SATCHEL DRESS #####402##############################403 404 405 406##############################407##### BEGIN EQUIP ASPECT #####408if auto_equip_aspect = 1409 if all_armor_equipped = 1 and weapon_equipped = 1410 say "[aspect"411 waitforgump 2424293173 500412 413 if armor_aspect_equipped = 0414 if ingump "Holy" 2424293173415 gumpresponse 17416 waitforgump 2424293173 100417 wait 100418 gumpresponse 17419 waitforgump 2424293173 100420 421 @setvar! armor_aspect_equipped 1422 endif423 endif424 425 wait 500426 427 if weapon_aspect_equipped = 0428 if ingump "Holy" 2424293173429 gumpresponse 8430 waitforgump 2424293173 100431 wait 100432 gumpresponse 8433 waitforgump 2424293173 100434 435 @setvar! weapon_aspect_equipped 1436 endif437 endif438 endif439 440 gumpclose 2424293173441 442endif443##### END EQUIP ASPECT #####444##############################445overhead "Let's Get Dangerous!"446stop