ItemID Bot by nesci
clearignore
if skill "Item Identification" < 100
overhead "Requires item ID skill to continue.." 34
stop
endif
if not listexists id_weapon_items
createlist id_weapon_items
pushlist id_weapon_items "martial arts scroll"
pushlist id_weapon_items "halberd"
pushlist id_weapon_items "bardiche"
pushlist id_weapon_items "battle axe"
pushlist id_weapon_items "double axe"
pushlist id_weapon_items "two handed axe"
pushlist id_weapon_items "executioner's axe"
pushlist id_weapon_items "large battle axe"
pushlist id_weapon_items "axe"
pushlist id_weapon_items "scimitar"
pushlist id_weapon_items "longsword"
pushlist id_weapon_items "viking sword"
pushlist id_weapon_items "katana"
pushlist id_weapon_items "cutlass"
pushlist id_weapon_items "broadsword"
pushlist id_weapon_items "war hammer"
pushlist id_weapon_items "war axe"
pushlist id_weapon_items "maul"
pushlist id_weapon_items "quarter staff"
pushlist id_weapon_items "gnarled staff"
pushlist id_weapon_items "black staff"
pushlist id_weapon_items "hammer pick"
pushlist id_weapon_items "club"
pushlist id_weapon_items "shepherd's crook"
pushlist id_weapon_items "war mace"
pushlist id_weapon_items "mace"
pushlist id_weapon_items "Long Spear"
pushlist id_weapon_items "pitchfork"
pushlist id_weapon_items "war fork"
pushlist id_weapon_items "kryss"
pushlist id_weapon_items "short spear"
pushlist id_weapon_items "bow"
pushlist id_weapon_items "crossbow"
pushlist id_weapon_items "heavy crossbow"
pushlist id_weapon_items "bladed staff"
endif
if not listexists id_armor_items
createlist id_armor_items
pushlist id_armor_items "leather tunic"
pushlist id_armor_items "leather leggings"
pushlist id_armor_items "leather sleeves"
pushlist id_armor_items "leather cap"
pushlist id_armor_items "leather gloves"
pushlist id_armor_items "leather gorget"
pushlist id_armor_items "leather armor"
pushlist id_armor_items "leather bustier"
pushlist id_armor_items "leather shorts"
pushlist id_armor_items "leather skirt"
pushlist id_armor_items "studded tunic"
pushlist id_armor_items "studded leggings"
pushlist id_armor_items "studded sleeves"
pushlist id_armor_items "studded gloves"
pushlist id_armor_items "studded gorget"
pushlist id_armor_items "studded armor"
pushlist id_armor_items "studded bustier"
pushlist id_armor_items "bone armor"
pushlist id_armor_items "bone legs"
pushlist id_armor_items "bone arms"
pushlist id_armor_items "bone helmet"
pushlist id_armor_items "bone gloves"
pushlist id_armor_items "ringmail tunic"
pushlist id_armor_items "ringmail leggings"
pushlist id_armor_items "ringmail sleeves"
pushlist id_armor_items "helmet"
pushlist id_armor_items "ringmail gloves"
pushlist id_armor_items "orc helm"
pushlist id_armor_items "chainmail tunic"
pushlist id_armor_items "chainmail leggings"
pushlist id_armor_items "chainmail coif"
pushlist id_armor_items "platemail"
pushlist id_armor_items "platemail legs"
pushlist id_armor_items "platemail arms"
pushlist id_armor_items "plate helm"
pushlist id_armor_items "platemail gloves"
pushlist id_armor_items "platemail gorget"
pushlist id_armor_items "plate armor"
pushlist id_armor_items "bascinet"
pushlist id_armor_items "close helm"
pushlist id_armor_items "norse helm"
pushlist id_armor_items "wooden shield"
pushlist id_armor_items "kite shield"
pushlist id_armor_items "buckler "
pushlist id_armor_items "metal shield"
pushlist id_armor_items "bronze shield"
pushlist id_armor_items "kite shield"
pushlist id_armor_items "heater shield"
pushlist id_armor_items "Chaos shield"
pushlist id_armor_items "Order shield"
endif
if not listexists id_bard_items
createlist id_bard_items
pushlist id_bard_items "lap harp"
pushlist id_bard_items "drum"
pushlist id_bard_items "lute"
pushlist id_bard_items "bamboo flute"
pushlist id_bard_items "tambourine"
endif
if not listexists id_mage_weapon_items
createlist id_mage_weapon_items
pushlist id_mage_weapon_items "spellbook"
endif
while not dead
if findtype '3701' ground as "bag"
overhead "Found bag to ID"
lift bag
wait 100
drop "self"
wait 100
dclick "bag"
wait 500
if findtype 3705 bag as goodContainer
overhead "Found Good Container"
ignore goodContainer
if findtype 3705 bag as badContainer
overhead "Found Bad Container"
clearignore
# Item Id starts
# Mage
foreach id in id_mage_weapon_items
sysmsg id 88
while findtype id bag as item
getlabel item description
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif power in description or vanquishing in description or supremely in description or exceedingly in description or slaying in description
overhead description 88
lift item
wait 250
drop goodContainer -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop badContainer -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
# Bard
foreach id in id_bard_items
sysmsg id 88
while findtype id bag as item
getlabel item description
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif supremely in description or exceedingly in description or slaying in description
overhead description 88
lift item
wait 250
drop goodContainer -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop badContainer -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
# Armor
foreach id in id_armor_items
sysmsg id 88
while findtype id bag as item
getlabel item description
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif fortification in description or invulnerability in description
overhead description 88
lift item
wait 250
drop goodContainer -1 -1 -1
else
lift item
wait 250
drop badContainer -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
# Weapon
foreach id in id_weapon_items
sysmsg id 88
while findtype id bag as item
getlabel item description
if unidentified in description
useskill "itemId"
wft 500
target item
wait 2000
elseif power in description or vanquishing in description or supremely in description or exceedingly in description or slaying in description
overhead description 88
lift item
wait 250
drop goodContainer -1 -1 -1
ignore item
wait 250
else
lift item
wait 250
drop badContainer -1 -1 -1
ignore item
wait 250
endif
endwhile
endfor
clearignore
ignore bag
lift bag
wait 250
droprelloc 1 1
else
overhead "Bad Missing"
endif
else
overhead "Bag missing"
endif
endif
wait 250
endwhile