alias skill { if ($regex($1,/^(overall|total|skillt|stotal|skilltotal)$/Si)) { return Overall } if ($regex($1,/^(att|attack|atk)$/Si)) { return Attack } if ($regex($1,/^(def|defence|dfnc)$/Si)) { return Defence } if ($regex($1,/^(str|strength)$/Si)) { return Strength } if ($regex($1,/^(hp|hits|hitpoints|hitpoint|hpoint)$/Si)) { return HitPoints } if ($regex($1,/^(ranged|range|arch|archery|arching)$/Si)) { return Ranged } if ($regex($1,/^(prayer|pray|faith)$/Si)) { return Prayer } if ($regex($1,/^(magic|mage|mag|mgk|mgc|spell)$/Si)) { return Magic } if ($regex($1,/^(cooking|cook|food)$/Si)) { return Cooking } if ($regex($1,/^(wc|wood|woodcut|woodcutting|wcut|woodc)$/Si)) { return WoodCutting } if ($regex($1,/^(fletch|fletching)$/Si)) { return Fletching } if ($regex($1,/^(fish|fishing)$/Si)) { return Fishing } if ($regex($1,/^(firemaking|fm|fire|firemake|firem|fmake)$/Si)) { return FireMaking } if ($regex($1,/^(craft|crafting)$/Si)) { return Crafting } if ($regex($1,/^(smith|smithing)$/Si)) { return Smithing } if ($regex($1,/^(mine|mining)$/Si)) { return Mining } if ($regex($1,/^(herb|herblore|herbal)$/Si)) { return Herblore } if ($regex($1,/^(agil|agility|agile)$/Si)) { return Agility } if ($regex($1,/^(thieving|thiev|thief|steal)$/Si)) { return Thieving } if ($regex($1,/^(slay|slayer|slaying)$/Si)) { return Slayer } if ($regex($1,/^(farm|farming|frm)$/Si)) { return Farming } if ($regex($1,/^(rc|rune|runecraft|runecrafting|runec|rcraft)$/Si)) { return RuneCraft } if ($regex($1,/^(hunt|hunter|hunting)$/Si)) { return Hunter } if ($regex($1,/^(constr|construction|build)$/Si)) { return Construction } else { return $false } }