All pastes #986660 Raw Edit

Something

public text v1 · immutable
·published 2008-04-15 22:49 UTC
rendered paste body
on $*:TEXT:/^[!@]F(airy)?R(ing|ings)?/Si:#: {
  var %output = $iif($left($1,1) == !,notice $nick,msg $chan)
  if (!$Location($3-)) && (!$FairyRing($2)) { %output $logo 5(10FAIRY-RING5) 10 $+ $remove($2-,-c) 5is not a valid Fairy Ring location/Co-ordinate. | halt }
  if (*-l* iswm $2) { %output $logo 5(10LOCATION5) 10 $3- 5=10 $location($3-)  }
  else {
    %output $logo 5(10FAIRY-RING5) 10 $2 5=10 $fairyring($2
)
  }
}

Alias Location { 
  if ($1 == Woodlands) return AKQ
  if ($1 == Penguin) return AJS
  if ($1 == Miscellania) return CIP
  if ($1 == Keldagrim) return DKS
  if ($1- == Slayer Cave) return AJR
  if ($1- == Sinclair Mansion) return CJR,DJR
  if ($1- == Mcgrubor's Wood) return ALS 
  if ($1 == Legends) return BLR
  if ($1- == Ardougne Zoo) return BIS
  if ($1 == Necromancer) return DJP
  if ($1- == Tree Gnome maze) return CIQ
  if ($1 == Hazelmere) return CLS
  if ($1 == Jungle Spiders) return CLS
  if ($1 == Chompy) return BKP,AKS
  if ($1 == Abyss) return ALR
  if ($1 == Edgeville) return DKR
  if ($1- == Wizard Tower) return DIS
  if ($1 == Gorak) return DIR
  if ($1 == Enchanted) return BKQ
  if ($1 == Starflower) return CKP
  if ($1 == Mudskipper) return AIQ
  if ($1- == Grail Castle) return BJR
  if ($1 == Tzhaar) return BLP
  if ($1 == Karamja) return DKP
  if ($1 == Cairn) return CKR
  if ($1 == Canafis) return DLS,CKS
  if ($1- == Mort Myre) return BKR
  if ($1- == Kharidian Desert) return BIQ (N) DLQ (S)
}

Alias FairyRing { 
  if ($1 == AKQ) return Woodlands Hunting area 
  if ($1 == AJS) return Penguin Island 
  if ($1 == CIP) return Miscellania 
  if ($1 == DKS) return Keldagrim and Snow Hunting 
  if ($1 == AJR) return Slayer Cave 
  if ($1 == CJR) return Sinclair Mansion 
  if ($1 == DJR) return Sinclair Mansion 
  if ($1 == ALS) return McGrubor's Wood 
  if ($1 == BLR) return Legends Guild Gate 
  if ($1 == BIS) return Unicorn Pen Ardougne Zoo 
  if ($1 == DJP) return Necromancer 
  if ($1 == CIQ) return South of Tree Gnome Maze 
  if ($1 == CLS) return Hazelmere and Jungle Spiders 
  if ($1 == BKP) return Chompy Frog Pond West 
  if ($1 == AKS) return Chompy Area Southeast 
  if ($1 == ALR) return Abyss area 
  if ($1 == DKR) return Edgeville Canoe Station 
  if ($1 == DIS) return Wizard Tower 
  if ($1 == DIR) return Gorak Lair 
  if ($1 == BKQ) return Enchanted Valley 
  if ($1 == CKP) return Starflower Plane 
  if ($1 == AIQ) return Mudskipper Point 
  if ($1 == BJR) return Grail Castle 
  if ($1 == BLP) return TzHaar 
  if ($1 == DKP) return Karamja southern continent, Karambwan fishing area 
  if ($1 == CKR) return Cairn Isle 
  if ($1 == DLS) return Canifis Pub Myreque secret passage 
  if ($1 == CKS) return Canifis mushroom patch 
  if ($1 == BKR) return Mort Myre Swamp 
  if ($1 == BIQ) return Kharidian Desert Northwest 
  if ($1 == DLQ) return Kharidian Desert Southeast 
}