/^.(def|set)(rsn|name) .{3,12}$/Si /^.k(base|nowledge) .+/Si alias s.num { if ($regex($1,/^(overall|total|st|skillt|stotal|skilltotal)$/Si)) { return 0 Overall } if ($regex($1,/^at(k|t(ack)?)$/Si)) { return 1 Attack } if ($regex($1,/^de?(f(en[cs]e)|fnc)$/Si)) { return 2 Defence } if ($regex($1,/^st(r(ength)?)?$/Si)) { return 3 Strength } if ($regex($1,/^h(its?)?p(oints?)?$/Si)) { return 4 HitPoints } if ($regex($1,/^(range[rd]?|arch(ery?|ing)?)$/Si)) { return 5 Ranged } if ($regex($1,/^(pray(er)?|faith)$/Si)) { return 6 Prayer } if ($regex($1,/^(ma?g(i?c?[ck]|e)?|spell)$/Si)) { return 7 Magic } if ($regex($1,/^(co?o?k(ing)?|food)$/Si)) { return 8 Cooking } if ($regex($1,/^w(ood)?c(ut(ting)?)?$/Si)) { return 9 WoodCutting } if ($regex($1,/^fl(etch(ing)?)?$/Si)) { return 10 Fletching } if ($regex($1,/^fi?(sh(ing)?)?$/Si)) { return 11 Fishing } if ($regex($1,/^f((ire?)?(m(ak)?(e|ing))?|m)$/Si)) { return 12 FireMaking } if ($regex($1,/^(craft(ing)?|cr)$/Si)) { return 13 Crafting } if ($regex($1,/^(sm(ith(ing)?)?$/Si)) { return 14 Smithing } if ($regex($1,/^mi(n(ing|e))?$/Si)) { return 15 Mining } if ($regex($1,/^herb(lore|law|al)$/Si)) { return 16 Herblore } if ($regex($1,/^ag(il(ity|e))?$/Si)) { return 17 Agility } if ($regex($1,/^(thie[vf](ing)|steal)$/Si)) { return 18 Thieving } if ($regex($1,/^slay(er|ing)?$/Si)) { return 19 Slayer } if ($regex($1,/^fa?rm(ing|er)?$/Si)) { return 20 Farming } if ($regex($1,/^r(une(c(raft(ing)?)?))?$/Si)) { return 21 RuneCrafting } if ($regex($1,/^hu?nt(er|ing)?$/Si)) { return 22 Hunting } if ($regex($1,/^(cons(tr)?(uction)?|build)$/Si)) { return 23 Construction } else { return 0 } } /^.(ra?nk|place|spot) .+/Si /^.rsnews.*/Si /^.price .+/Si /^.rsf(orum)? .+/Si