Katran
Posts: 291
|
To use this script, (unfortunately) you will need to enable MXP. This script triggers on a sextant reading and provides a clickable link to that location in the Cwn Annwn’s Great Alyrian Locator. The script will try to recognise which plane to search on, based on the area name. If you are currently in an area which is not listed in the defined variables, you will be given a choice of which plane to search on. (At that point, if you know what plane you’re on, you’ll probably want to add that area to the appropriate variable. :P) For best results, make sure your sextant is identified. If the sextant is not identified, the area name will not be displayed, and thus the script will not be able to recognise the appropriate plane. Currently supported planes are Alyria, the Faerie Plane, and the Underground. Clan halls (including the "Old" ones) are automatically assigned to the Alyrian plane if their area names end in "Clan Hall" or "Clanhall". Since Hellbent has entrances on multiple planes, I have included it as a special case, with links to all three. If the script knows you are in social or on Verity Isle, it will do nothing. We may add these two planes to the Locator in the future. I have used ";" as the command stacking character. #CLASS {mxp_locator} #VAR area_alyria {Alyria|A Disturbed Pyramid|A Hill Giant Refuge|A Hydra’s Den|An Abandoned Lighthouse|Arcane Archipelago|Atlantis|Bazaar|Catacombs of Shame|Desert of Thorn|Dungeon Avarice|Dungeon Deceit|Dungeon Odious|Dungeon Wroth|Emperor’s Crossroads|Focault’s Residence|Frost Giant’s Keep|Gilvery|Hall of Honor|Inn of the Twin Moons|Irda Isle|Irda Isle Caverns|Jalur Lumber Camp|Lasler|Lonely Dragon Inn|Lowangen|Magencia|Maldra’s Keep|Mandrake Woods|Mount Vesuvius|New Kolvir|New Rigel Gardens|New Rigel Realty|Ogre Village|Pirate’s Cove|Palace of Diocletian|Palamire|Proving Grounds|Rune Estates East|Rune Forest|Rune Graveyard|Rune Realty|Runic Castle|Shadow Castle|Sigil|Sigil Realty|Sigilian Crossing|Tavern of the Boars|Tellerium|Tellerium Realty|Temple Crypt|Temple of Sumter|Templeton|The Covian Stronghold|The Hamlet of Winton|The Mountain Village of Teolaven|The Sigilian Stronghold|The Templetonian Stronghold|The Towne of New Rigel|The Village of Colyon|The Village of Mulakanathos|The Wreck of the Feisty Wench|The Xaventry Stronghold|Tower of Aroxa|Tower of Art|Towne of Rune|Traveler’s Retreat|Van Pelt’s Emporium|Vospire|Winterborn Mansion|Xaventry|Xaventry Realty} #VAR area_fp {Faerie Plane Wilderness|Cavhfail|Eanoss Azelmar|Human Outpost|Rahdiyr|Seelie Castle|Unseelie Castle} #VAR area_ug {Great Alyrian Underground|Hotel Hello|Isle of the Sea Hag|Kessarian’s Dungeon|Lair of the Death Slaadi|Smuggler’s Cave|Towne of Decara|Vir} #VAR area_chat {Chat Rooms Wilderness|Chat Rooms} #VAR area_verity {Verity Isle|Tower of Riga} #TRIGGER {^You are currently at position (%d), (%d).$} {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)%1%ansi(blue,hi), %ansi(gray)%2%ansi(blue,hi) (area unspecified). Locate: <a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">Alyria</a> <a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=1">Faerie Plane</a> <a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=2">Underground</a>}} #TRIGGER {^You are currently at position (%d), (%d) in (*){^Clan Hall|Clanhall|Hellbent Mountain}.$} {#IF %ismember( %3, @area_alyria) {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">%1%ansi(blue,hi), %ansi(gray)%2~</a> %ansi(blue,hi)in %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">%3~</a>%ansi(blue,hi).}} {};#IF %ismember( %3, @area_fp) {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=1">%1%ansi(blue,hi), %ansi(gray)%2~</a> %ansi(blue,hi)in %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=1">%3~</a>%ansi(blue,hi).}} {};#IF %ismember( %3, @area_ug) {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=2">%1%ansi(blue,hi), %ansi(gray)%2~</a> %ansi(blue,hi)in %ansi(gray)~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=2">%3~</a>%ansi(blue,hi).}} {};#IF (NOT %ismember( %3, @area_alyria|@area_fp|@area_ug|@area_chat|@area_verity)) {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)%1%ansi(blue,hi), %ansi(gray)%2%ansi(blue,hi) in %ansi(gray)%3%ansi(blue,hi) (not in areas list). Locate: ~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">Alyria~</a> ~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=1">Faerie Plane~</a> ~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=2">Underground~</a>}} {}} #TRIGGER {^You are currently at position (%d), (%d) in ({Old |}* {Clan Hall|Clanhall}).$} {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">%1%ansi(blue,hi), %ansi(gray)%2</a> %ansi(blue,hi)in %ansi(gray)<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">%3</a>%ansi(blue,hi).}} #TRIGGER {^You are currently at position (%d), (%d) in Hellbent Mountain.$} {#SUB {%ansi(blue,hi)You are currently at position %ansi(gray)%1%ansi(blue,hi), %ansi(gray)%2%ansi(blue,hi) in %ansi(gray)Hellbent Mountain%ansi(blue,hi). Locate: ~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=0">Alyria~</a> ~<a "http://www.annwn.info/gal.php?xpos=255~&ypos=163~&plane=1">Faerie Plane~</a> ~<a "http://www.annwn.info/gal.php?xpos=%1~&ypos=%2~&plane=2">Underground~</a>}} #CLASS 0 The area list is not completely updated. Please let me know if you know of an area I missed, or if you find any mistakes/problems. If you can think of a better way to do this, I will appreciate that input too! Last edited on February 2, 2008 04:01am. |
This one is kind of a beast.