rendered paste bodyon *:TEXT:!fairyring*:#: {
if ($len($2) != 3) { .notice $nick Error: must be a 3 letter code | halt }
if ($fairyring.code.1($mid($2,1,1)) == $false) { .notice $nick Error: !fairyring (abcd)(ijkl)(pqrs) | halt }
if ($fairyring.code.2($mid($2,2,1)) == $false) { .notice $nick Error: !fairyring (abcd)(ijkl)(pqrs) | halt }
if ($fairyring.code.3($mid($2,3,1)) == $false) { .notice $nick Error: !fairyring (abcd)(ijkl)(pqrs) | halt }
$iif($left($1,1) == @,msg $chan,notice $nick) $upper($2) = $fairyring.location($2)
}
alias ring.location {
if ($1- == Muddskipper Point) { return AIQ }
if ($1- == Desert Island) { return AIR }
if ($1- == Slayer Dungeon) { return AJR }
if ($1- == Pengiun isle) { return AJS }
if ($1- == Fishing Colony) { return AKQ }
if ($1- == Feldip Hills) { return AKS }
(15:48:26) <Ano|Bot> if ($1- == Abyssal area) { return ALR }
(15:48:26) <Ano|Bot> if ($1- == McGrubor's Wood) { return ALS }
(15:48:26) <Ano|Bot> if ($1- == Island in the River Salve) { return BIP }
(15:48:26) <Ano|Bot> if ($1- == Desert) { return BIQ }
(15:48:27) <Ano|Bot> if ($1- == Ardougne ) { return BIS }
(15:48:28) <Ano|Bot> if ($1- == Fisher King's Realm { return BJR }
(15:48:29) <Ano|Bot> if ($1- == Feldip Hills Swamp) { return BKP (south of Castle Wars) }
(15:48:31) <Ano|Bot> if ($1- == Enchanted Valley) { return BKQ }
(15:48:32) <Ano|Bot> if ($1- == Mort Myre Swamp) { return BKR }
(15:48:33) <Ano|Bot> if ($1- == TzHaar) { return BLP }
(15:48:34) <Ano|Bot> if ($1- == Legends Guild) { return BLR }
(15:48:35) <Ano|Bot> if ($1- == Miscellania) { return CIP }
(15:48:36) <Ano|Bot> if ($1- == Tree Gnome Village) { return CIQ }
(15:48:37) <Ano|Bot> if ($1- == Sinclair Mansion) { return CJR }
(15:48:38) <Ano|Bot> if ($1- == Higher Planes) { return CKP }
(15:48:39) <Ano|Bot> if ($1- == Shilo Village) { return CKR }
(15:48:40) <Ano|Bot> if ($1- == Canifis) { return CKS }
(15:48:41) <Ano|Bot> if ($1- == Wizards Tower's Island) { return CLP }
(15:48:42) <Ano|Bot> if ($1- == Hazelmere's house) { return CLS }
(15:48:43) <Ano|Bot> if ($1- == Goraks and Cloud Banks) { return DIR }
(15:48:44) <Ano|Bot> if ($1- == Wizard Tower) { return DIS }
(15:48:45) <Ano|Bot> if ($1- == Necromancer Tower) { return DJP }
(15:48:46) <Ano|Bot> if ($1- == Northwest of Sinclair Mansion) { return DJR }
(15:48:47) <Ano|Bot> if ($1- == Nature Altar) { return DKP }
(15:48:48) <Ano|Bot> if ($1- == Edgeville) { return DKR }
(15:48:49) <Ano|Bot> if ($1- == Hunting Grounds) { return DKS) }
(15:48:50) <Ano|Bot> if ($1- == Nardah) { return DLQ }
(15:48:51) <Ano|Bot> if ($1- == Isafdar) { return DLR }
(15:48:52) <Ano|Bot> if ($1- == Myreque) { return DLS }
(15:48:53) <Ano|Bot> else { return N/A }
(15:48:54) <Ano|Bot> }
(15:48:55) <Ano|Bot> on *:TEXT:!ring*:#: {
(15:48:56) <Ano|Bot> notice $nick $2- == $ring.location($2-)
(15:48:57) <Ano|Bot> }