Skip to content
Outlands Hub

Razor script

Bag Identifier (with ItemID Skill)

by demogorii · 130 lines
Download

-- Set your wait times depending on your ping

Organizing
Bag Identifier with ItemID Skill.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/261340bc-d3f8-49dc-8918-4b899f53599c for latest2# Automation by Jaseowns3## Script: Bag Identifier (with ItemID Skill)4## Created by: demogorii#05#############################################6 7#-- Set your wait times depending on your ping8 9@setvar! maxwaittimeinms 70010@setvar! itemusewaittimeinms 20011removelist loot_items12createlist loot_items13setlasttarget 14 15#**********  DO NOT EDIT FROM HERE  ********** 16 17sysmsg "Scanning All Armor..." 1118 19#Armor - all serials:20while findtype 5056|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|7947|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191 lasttarget as itemzy21    22    getlabel itemzy itemDesc23    24    if "aspect" in itemDesc or "exceptional" in itemDesc25        #sysmsg "item not added : {{itemDesc}}" 4426    else 27        pushlist loot_items itemzy28    endif29  30    @ignore itemzy31endwhile32 33#********** SCAN ALL ARCANES, STAFF, SPELLBOOKS  **********  34 35sysmsg "Scanning Arcane Staffs, Spellbooks..." 1136 37#Arcane Staffs, Spellbook - all serials:38while findtype 31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3834 lasttarget as itemzy39   40    getlabel itemzy itemDesc41    42    if "aspect" in itemDesc or "exceptional" in itemDesc43        #sysmsg "item not added : {{itemDesc}}" 4444    else 45        pushlist loot_items itemzy46    endif47 48    @ignore itemzy49endwhile50 51#********** SCAN ALL SHIELDS & INSTRUMENTS  **********  52 53sysmsg "Scanning Shields & Instruments..." 1154 55#Instruments, Shields - all serials:56while findtype 3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130 lasttarget as itemzy57    58    getlabel itemzy itemDesc59    60    if "aspect" in itemDesc or "exceptional" in itemDesc61        #sysmsg "item not added : {{itemDesc}}" 4462    else 63        pushlist loot_items itemzy64    endif65    66    @ignore itemzy67endwhile68 69#********** SCAN ALL MELEE WEAPONS  **********  70 71sysmsg "Scanning Dexxers Weapons..." 1172 73#Archery, Fencing, Mace Fighting, Swordsmanship, Wrestling - all serials:74while findtype 3920|5042|5117|30990|30993|30994|30995|31184|31186|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190|22187|31141|31142|31169|31172 lasttarget as itemzy75    76    getlabel itemzy itemDesc77    78    if "aspect" in itemDesc or "exceptional" in itemDesc79        #sysmsg "item not added : {{itemDesc}}" 4480    else 81        pushlist loot_items itemzy82    endif83    84    @ignore itemzy85endwhile86 87clearignore88 89#********** START IDENTIFYING ITEMS  **********  90 91sysmsg "Identiying all items..." 1192 93removelist identified_items94createlist identified_items95 96foreach loot in loot_items97 98    if targetexists99        hotkey 'cancel current target'100    endif101    102    getlabel loot lootLabel103    104    if skill 'item identification' >= 80105        if "unidentified" in lootLabel106            while "unidentified" in lootLabel107                if index != 0108                    poplist identified_items loot109                endif110                overhead "Slowly identifying with skill..." 10111                wait 1200112                skill 'itemidentification'113                waitfortarget maxwaittimeinms114                115                while not targetexists116                    skill 'itemidentification'117                    waitfortarget maxwaittimeinms118                endwhile119                120                target loot121                pushlist identified_items loot 122                getlabel loot lootLabel123            endwhile  124        else 125            pushlist identified_items loot 126        endif 127    endif128endfor129 130overhead "Identification Finished!" 65