member ArmorType() { ;Thanks to Complex for supplying me with the skill # info ;WoWSkill for Plate is 293 if ${Me.Skill[293]} > 0 { return Plate } ;wowSkill for Mail is 413 elseif ${Me.Skill[413]} > 0 { return Mail } ;WoWSkill for Leather is 414 elseif ${Me.Skill[414]} > 0 { return Leather } ;WoWSkill for cloth is 415 elseif ${Me.Skill[415]} > 0 { return Cloth } echo "ArmorType returned nothing, something is wrong with the Skill values" }