Advertisement
Guest User

Test_Target_NPC.pl

a guest
Sep 2nd, 2013
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 15.90 KB | None | 0 0
  1. ##Written by: Kingly_Krab
  2. ##NOTE: Must have global_player.pl for all of my scripts.
  3. sub EVENT_SAY
  4. {
  5.     my %genders = (0 => "Male",
  6.     1 => "Female",
  7.     2 => "Neuter");
  8.     my %zones = (1  =>  "South Qeynos",
  9.     2   =>  "North Qeynos",
  10.     3   =>  "The Surefall Glade",
  11.     4   =>  "The Qeynos Hills",
  12.     5   =>  "Highpass Hold",
  13.     6   =>  "High Keep",
  14.     8   =>  "North Freeport",
  15.     9   =>  "West Freeport",
  16.     10  =>  "East Freeport",
  17.     11  =>  "The Liberated Citadel of Runnyeye",
  18.     12  =>  "The Western Plains of Karana",
  19.     13  =>  "The Northern Plains of Karana",
  20.     14  =>  "The Southern Plains of Karana",
  21.     15  =>  "Eastern Plains of Karana",
  22.     16  =>  "Gorge of King Xorbb",
  23.     17  =>  "Blackburrow",
  24.     18  =>  "The Lair of the Splitpaw",
  25.     19  =>  "Rivervale",
  26.     20  =>  "Kithicor Forest",
  27.     21  =>  "West Commonlands",
  28.     22  =>  "East Commonlands",
  29.     23  =>  "The Erudin Palace",
  30.     24  =>  "Erudin",
  31.     25  =>  "The Nektulos Forest",
  32.     25  =>  "The Nektulos Forest",
  33.     26  =>  "Sunset Home",
  34.     27  =>  "The Lavastorm Mountains",
  35.     28  =>  "Nektropos",
  36.     29  =>  "Halas",
  37.     30  =>  "Everfrost Peaks",
  38.     31  =>  "Solusek's Eye",
  39.     32  =>  "Nagafen's Lair",
  40.     33  =>  "Misty Thicket",
  41.     34  =>  "Northern Desert of Ro",
  42.     35  =>  "Southern Desert of Ro",
  43.     36  =>  "Befallen",
  44.     37  =>  "Oasis of Marr",
  45.     38  =>  "Toxxulia Forest",
  46.     39  =>  "The Hole",
  47.     40  =>  "Neriak - Foreign Quarter",
  48.     41  =>  "Neriak - Commons",
  49.     42  =>  "Neriak - 3rd Gate",
  50.     43  =>  "Neriak Palace",
  51.     44  =>  "Najena",
  52.     45  =>  "The Qeynos Aqueduct System",
  53.     46  =>  "Innothule Swamp",
  54.     47  =>  "The Feerrott",
  55.     48  =>  "Accursed Temple of CazicThule",
  56.     49  =>  "Oggok",
  57.     50  =>  "The Rathe Mountains",
  58.     51  =>  "Lake Rathetear",
  59.     52  =>  "Grobb",
  60.     53  =>  "Aviak Village",
  61.     54  =>  "The Greater Faydark",
  62.     55  =>  "Ak'Anon",
  63.     56  =>  "Steamfont Mountains",
  64.     57  =>  "The Lesser Faydark",
  65.     58  =>  "Crushbone",
  66.     59  =>  "The Castle of Mistmoore",
  67.     60  =>  "South Kaladim",
  68.     61  =>  "Northern Felwithe",
  69.     62  =>  "Southern Felwithe",
  70.     63  =>  "The Estate of Unrest",
  71.     64  =>  "Kedge Keep",
  72.     65  =>  "The City of Guk",
  73.     66  =>  "The Ruins of Old Guk",
  74.     67  =>  "North Kaladim",
  75.     68  =>  "Butcherblock Mountains",
  76.     69  =>  "Ocean of Tears",
  77.     70  =>  "Dagnor's Cauldron",
  78.     71  =>  "The Plane of Sky",
  79.     72  =>  "The Plane of Fear",
  80.     73  =>  "The Permafrost Caverns",
  81.     74  =>  "Kerra Isle",
  82.     75  =>  "Paineel",
  83.     76  =>  "Plane of Hate",
  84.     77  =>  "The Arena",
  85.     78  =>  "The Field of Bone",
  86.     79  =>  "The Warsliks Woods",
  87.     80  =>  "The Temple of Solusek Ro",
  88.     81  =>  "The Temple of Droga",
  89.     82  =>  "Cabilis West",
  90.     83  =>  "The Swamp of No Hope",
  91.     84  =>  "Firiona Vie",
  92.     85  =>  "Lake of Ill Omen",
  93.     86  =>  "The Dreadlands",
  94.     87  =>  "The Burning Wood",
  95.     88  =>  "Kaesora",
  96.     89  =>  "The Ruins of Sebilis",
  97.     90  =>  "The City of Mist",
  98.     91  =>  "The Skyfire Mountains",
  99.     92  =>  "Frontier Mountains",
  100.     93  =>  "The Overthere",
  101.     94  =>  "The Emerald Jungle",
  102.     95  =>  "Trakanon's Teeth",
  103.     96  =>  "Timorous Deep",
  104.     97  =>  "Kurn's Tower",
  105.     98  =>  "Erud's Crossing",
  106.     100 =>  "The Stonebrunt Mountains",
  107.     101 =>  "The Warrens",
  108.     102 =>  "Karnor's Castle",
  109.     103 =>  "Chardok",
  110.     104 =>  "The Crypt of Dalnir",
  111.     105 =>  "The Howling Stones",
  112.     106 =>  "Cabilis East",
  113.     107 =>  "The Mines of Nurga",
  114.     108 =>  "Veeshan's Peak",
  115.     109 =>  "Veksar",
  116.     110 =>  "The Iceclad Ocean",
  117.     111 =>  "The Tower of Frozen Shadow",
  118.     112 =>  "Velketor's Labyrinth",
  119.     113 =>  "Kael Drakkel",
  120.     114 =>  "Skyshrine",
  121.     115 =>  "The City of Thurgadin",
  122.     116 =>  "Eastern Wastes",
  123.     117 =>  "Cobaltscar",
  124.     118 =>  "The Great Divide",
  125.     119 =>  "The Wakening Land",
  126.     120 =>  "The Western Wastes",
  127.     121 =>  "The Crystal Caverns",
  128.     123 =>  "Dragon Necropolis",
  129.     124 =>  "The Temple of Veeshan",
  130.     125 =>  "Siren's Grotto",
  131.     126 =>  "The Plane of Mischief",
  132.     127 =>  "The Plane of Growth",
  133.     128 =>  "The Sleeper's Tomb",
  134.     129 =>  "Icewell Keep",
  135.     130 =>  "Marauders Mire",
  136.     150 =>  "Shadow Haven",
  137.     151 =>  "The Bazaar",
  138.     151 =>  "The Bazaar",
  139.     152 =>  "Nexus",
  140.     153 =>  "The Echo Caverns",
  141.     154 =>  "The Acrylia Caverns",
  142.     155 =>  "The City of Shar Vahl",
  143.     156 =>  "The Paludal Caverns",
  144.     157 =>  "The Fungus Grove",
  145.     158 =>  "Vex Thal",
  146.     159 =>  "Sanctus Seru",
  147.     160 =>  "Katta Castellum",
  148.     161 =>  "Netherbian Lair",
  149.     162 =>  "Ssraeshza Temple",
  150.     163 =>  "Grieg's End",
  151.     164 =>  "The Deep",
  152.     165 =>  "Shadeweaver's Thicket",
  153.     166 =>  "Hollowshade Moor",
  154.     167 =>  "Grimling Forest",
  155.     168 =>  "Marus Seru",
  156.     169 =>  "Mons Letalis",
  157.     170 =>  "The Twilight Sea",
  158.     171 =>  "The Grey",
  159.     172 =>  "The Tenebrous Mountains",
  160.     173 =>  "The Maiden's Eye",
  161.     174 =>  "The Dawnshroud Peaks",
  162.     175 =>  "The Scarlet Desert",
  163.     176 =>  "The Umbral Plains",
  164.     179 =>  "The Akheva Ruins",
  165.     180 =>  "The Arena Two",
  166.     181 =>  "The Jaggedpine Forest",
  167.     182 =>  "Nedaria's Landing",
  168.     183 =>  "EverQuest Tutorial",
  169.     184 =>  "Loading Zone",
  170.     185 =>  "New Loading Zone",
  171.     186 =>  "The Plane of Hate",
  172.     187 =>  "Shadowrest",
  173.     188 =>  "The Mines of Gloomingdeep",
  174.     189 =>  "The Mines of Gloomingdeep",
  175.     190 =>  "Loading",
  176.     200 =>  "The Crypt of Decay",
  177.     201 =>  "The Plane of Justice",
  178.     202 =>  "The Plane of Knowledge",
  179.     203 =>  "The Plane of Tranquility",
  180.     204 =>  "The Plane of Nightmares",
  181.     205 =>  "The Plane of Disease",
  182.     206 =>  "The Plane of Innovation",
  183.     207 =>  "Torment, the Plane of Pain",
  184.     208 =>  "The Plane of Valor",
  185.     209 =>  "Bastion of Thunder",
  186.     210 =>  "The Plane of Storms",
  187.     211 =>  "The Halls of Honor",
  188.     212 =>  "The Tower of Solusek Ro",
  189.     213 =>  "Plane of War",
  190.     214 =>  "Drunder, the Fortress of Zek",
  191.     215 =>  "The Plane of Air",
  192.     216 =>  "The Plane of Water",
  193.     217 =>  "The Plane of Fire",
  194.     218 =>  "The Plane of Earth",
  195.     219 =>  "The Plane of Time",
  196.     220 =>  "The Temple of Marr",
  197.     221 =>  "The Lair of Terris Thule",
  198.     222 =>  "The Plane of Earth",
  199.     223 =>  "The Plane of Time",
  200.     224 =>  "The Gulf of Gunthak",
  201.     225 =>  "Dulak's Harbor",
  202.     226 =>  "The Torgiran Mines",
  203.     227 =>  "The Crypt of Nadox",
  204.     228 =>  "Hate's Fury",
  205.     229 =>  "Deepest Guk: Cauldron of Lost Souls",
  206.     230 =>  "The Rujarkian Hills: Bloodied Quarries",
  207.     231 =>  "Takish-Hiz: Sunken Library",
  208.     232 =>  "Miragul's Menagerie: Silent Gallery",
  209.     233 =>  "Mistmoore's Catacombs: Forlorn Caverns",
  210.     234 =>  "The Drowning Crypt",
  211.     235 =>  "The Rujarkian Hills: Halls of War",
  212.     236 =>  "Takish-Hiz: Shifting Tower",
  213.     237 =>  "Miragul's Menagerie: Frozen Nightmare",
  214.     238 =>  "Mistmoore's Catacombs: Dreary Grotto",
  215.     239 =>  "Deepest Guk: Ancient Aqueducts",
  216.     240 =>  "The Rujarkian Hills: Wind Bridges",
  217.     241 =>  "Takish-Hiz: Fading Temple",
  218.     242 =>  "The Spider Den",
  219.     243 =>  "Mistmoore's Catacombs: Struggles within the Progeny",
  220.     244 =>  "The Mushroom Grove",
  221.     245 =>  "The Rujarkian Hills: Prison Break",
  222.     246 =>  "Takish-Hiz: Royal Observatory",
  223.     247 =>  "Miragul's Menagerie: Hushed Banquet",
  224.     248 =>  "Mistmoore's Catacombs: Chambers of Eternal Affliction",
  225.     249 =>  "Deepest Guk: The Curse Reborn",
  226.     250 =>  "The Rujarkian Hills: Drudge Hollows",
  227.     251 =>  "Takish-Hiz: River of Recollection",
  228.     252 =>  "The Frosted Halls",
  229.     253 =>  "Mistmoore's Catacombs: Sepulcher of the Damned",
  230.     254 =>  "Deepest Guk: Chapel of the Witnesses",
  231.     255 =>  "The Rujarkian Hills: Fortified Lair of the Taskmasters",
  232.     256 =>  "Takish-Hiz: Sandfall Corridors",
  233.     257 =>  "The Forgotten Wastes",
  234.     258 =>  "Mistmoore's Catacombs: Scion Lair of Fury",
  235.     259 =>  "The Root Garden",
  236.     260 =>  "The Rujarkian Hills: Hidden Vale of Deceit",
  237.     261 =>  "Takish-Hiz: Balancing Chamber",
  238.     262 =>  "Miragul's Menagerie: Heart of the Menagerie",
  239.     263 =>  "Mistmoore's Catacombs: Cesspits of Putrescence",
  240.     264 =>  "Deepest Guk: Accursed Sanctuary",
  241.     265 =>  "The Rujarkian Hills: Blazing Forge ",
  242.     266 =>  "Takish-Hiz: Sweeping Tides",
  243.     267 =>  "The Morbid Laboratory",
  244.     268 =>  "Mistmoore's Catacombs: Aisles of Blood",
  245.     269 =>  "The Rujarkian Hills: Arena of Chance",
  246.     270 =>  "Takish-Hiz: Antiquated Palace",
  247.     271 =>  "The Theater of Imprisoned Horror",
  248.     272 =>  "Mistmoore's Catacombs: Halls of Sanguinary Rites",
  249.     273 =>  "The Rujarkian Hills: Barracks of War",
  250.     274 =>  "Takish-Hiz: Prismatic Corridors",
  251.     275 =>  "Miragul's Menagerie: Grand Library",
  252.     276 =>  "Mistmoore's Catacombs: Infernal Sanctuary",
  253.     277 =>  "Chardok: The Halls of Betrayal",
  254.     278 =>  "The Caverns of Exile",
  255.     279 =>  "The Abysmal Sea",
  256.     280 =>  "Natimbi, the Broken Shores",
  257.     281 =>  "Qinimi, Court of Nihilia",
  258.     282 =>  "Riwwi, Coliseum of Games",
  259.     283 =>  "Barindu, Hanging Gardens",
  260.     284 =>  "Ferubi, Forgotten Temple of Taelosia",
  261.     285 =>  "Sewers of Nihilia, Pool of Sludg",
  262.     286 =>  "Sewers of Nihilia, Lair of Trapp",
  263.     287 =>  "Sewers of Nihilia, Purifying Pla",
  264.     288 =>  "Sewers of Nihilia, Emanating Cre",
  265.     289 =>  "Tipt, Treacherous Crags",
  266.     290 =>  "Vxed, the Crumbling Caverns",
  267.     291 =>  "Yxtta, Pulpit of Exiles ",
  268.     292 =>  "Uqua, the Ocean God Chantry",
  269.     293 =>  "Kod'Taz, Broken Trial Grounds",
  270.     294 =>  "Ikkinz, Chambers of Transcendence",
  271.     295 =>  "Qvic, Prayer Grounds of Calling",
  272.     296 =>  "Inktu'Ta, the Unmasked Chapel",
  273.     297 =>  "Txevu, Lair of the Elite",
  274.     298 =>  "Tacvi, The Broken Temple",
  275.     299 =>  "Qvic, the Hidden Vault",
  276.     300 =>  "Wall of Slaughter",
  277.     301 =>  "The Bloodfields",
  278.     302 =>  "Dranik's Scar",
  279.     303 =>  "Nobles' Causeway",
  280.     304 =>  "Muramite Proving Grounds",
  281.     305 =>  "Muramite Proving Grounds",
  282.     306 =>  "Muramite Proving Grounds",
  283.     307 =>  "Muramite Proving Grounds",
  284.     308 =>  "Muramite Proving Grounds",
  285.     309 =>  "Muramite Proving Grounds",
  286.     316 =>  "Muramite Provinggrounds",
  287.     317 =>  "Anguish, the Fallen Palace",
  288.     318 =>  "Dranik's Hollows",
  289.     319 =>  "Dranik's Hollows",
  290.     320 =>  "Dranik's Hollows",
  291.     328 =>  "Catacombs of Dranik",
  292.     329 =>  "Catacombs of Dranik",
  293.     330 =>  "Catacombs of Dranik",
  294.     331 =>  "Sewers of Dranik",
  295.     332 =>  "Sewers of Dranik",
  296.     333 =>  "Sewers of Dranik",
  297.     334 =>  "Riftseekers' Sanctum",
  298.     335 =>  "Harbinger's Spire",
  299.     336 =>  "The Ruined City of Dranik",
  300.     337 =>  "The Broodlands",
  301.     338 =>  "Stillmoon Temple",
  302.     339 =>  "The Ascent",
  303.     340 =>  "Thundercrest Isles",
  304.     341 =>  "Lavaspinner's Lair",
  305.     342 =>  "Tirranun's Delve",
  306.     343 =>  "The Nest",
  307.     344 =>  "Guild Lobby",
  308.     345 =>  "Guild Hall",
  309.     346 =>  "The Barter Hall",
  310.     347 =>  "Ruins of Illsalin",
  311.     348 =>  "Illsalin Marketplace",
  312.     349 =>  "Temple of Korlach",
  313.     350 =>  "The Nargil Pits",
  314.     351 =>  "Dreadspire Keep",
  315.     354 =>  "The Hive",
  316.     355 =>  "The Hatchery",
  317.     356 =>  "The Cocoons",
  318.     357 =>  "Queen Sendaii`s Lair",
  319.     358 =>  "Stoneroot Falls",
  320.     359 =>  "Prince's Manor",
  321.     360 =>  "Caverns of the Lost",
  322.     361 =>  "Lair of the Korlach",
  323.     362 =>  "The Undershore",
  324.     363 =>  "Snarlstone Dens",
  325.     364 =>  "Shadow Spine",
  326.     365 =>  "Corathus Creep",
  327.     366 =>  "Sporali Caverns",
  328.     367 =>  "The Corathus Mines",
  329.     368 =>  "Shadowed Grove",
  330.     369 =>  "Arcstone, Isle of Spirits",
  331.     370 =>  "Relic, the Artifact City",
  332.     371 =>  "Skylance",
  333.     372 =>  "The Devastation",
  334.     373 =>  "The Seething Wall",
  335.     374 =>  "Sverag, Stronghold of Rage",
  336.     375 =>  "Razorthorn, Tower of Sullon Zek",
  337.     376 =>  "Ruins of Takish-Hiz",
  338.     377 =>  "The Root of Ro",
  339.     378 =>  "The Elddar Forest",
  340.     379 =>  "Tunare's Shrine",
  341.     380 =>  "Theater of Blood",
  342.     381 =>  "Deathknell, Tower of Dissonance",
  343.     382 =>  "East Freeport",
  344.     383 =>  "West Freeport",
  345.     384 =>  "Freeport Sewers",
  346.     385 =>  "Academy of Arcane Sciences",
  347.     386 =>  "Temple of Marr",
  348.     387 =>  "Freeport Militia House: My Precious",
  349.     388 =>  "Arena",
  350.     389 =>  "City Hall",
  351.     390 =>  "Theater of the Tranquil",
  352.     391 =>  "Hall of Truth: Bounty",
  353.     392 =>  "North Desert of Ro",
  354.     393 =>  "South Desert of Ro",
  355.     394 =>  "Crescent Reach",
  356.     395 =>  "Blightfire Moors",
  357.     396 =>  "Stone Hive",
  358.     397 =>  "Goru`kar Mesa",
  359.     398 =>  "Blackfeather Roost",
  360.     399 =>  "The Steppes",
  361.     400 =>  "Icefall Glacier",
  362.     401 =>  "Valdeholm",
  363.     402 =>  "Frostcrypt, Throne of the Shade King",
  364.     403 =>  "Sunderock Springs",
  365.     404 =>  "Vergalid Mines",
  366.     405 =>  "Direwind Cliffs",
  367.     406 =>  "Ashengate, Reliquary of the Scale",
  368.     407 =>  "Highpass Hold",
  369.     408 =>  "The Commonlands",
  370.     409 =>  "The Ocean of Tears",
  371.     410 =>  "Kithicor Forest",
  372.     411 =>  "Befallen",
  373.     412 =>  "HighKeep",
  374.     413 =>  "The Innothule Swamp",
  375.     414 =>  "Toxxulia Forest",
  376.     415 =>  "The Misty Thicket",
  377.     416 =>  "Katta Castrum",
  378.     417 =>  "Thalassius, the Coral Keep",
  379.     418 =>  "Jewel of Atiiki",
  380.     419 =>  "Zhisza, the Shissar Sanctuary",
  381.     420 =>  "Silyssar, New Chelsith",
  382.     421 =>  "Solteris, the Throne of Ro",
  383.     422 =>  "Barren Coast",
  384.     423 =>  "The Buried Sea",
  385.     424 =>  "Jardel's Hook",
  386.     425 =>  "Monkey Rock",
  387.     426 =>  "Suncrest Isle",
  388.     427 =>  "Deadbone Reef",
  389.     428 =>  "Blacksail Folly",
  390.     429 =>  "Maiden's Grave",
  391.     430 =>  "Redfeather Isle",
  392.     431 =>  "The Open Sea",
  393.     432 =>  "The Open Sea",
  394.     433 =>  "The Open Sea",
  395.     434 =>  "The Open Sea",
  396.     435 =>  "The Open Sea",
  397.     436 =>  "Fortress Mechanotus",
  398.     437 =>  "Meldrath's Majestic Mansion",
  399.     438 =>  "The Steam Factory",
  400.     439 =>  "S.H.I.P. Workshop",
  401.     440 =>  "Gyrospire Beza",
  402.     441 =>  "Gyrospire Zeka",
  403.     442 =>  "Dragonscale Hills",
  404.     443 =>  "Loping Plains",
  405.     444 =>  "Hills of Shade",
  406.     445 =>  "Bloodmoon Keep",
  407.     446 =>  "Crystallos, Lair of the Awakened",
  408.     447 =>  "The Mechamatic Guardian",
  409.     448 =>  "The Steamfont Mountains",
  410.     449 =>  "Crypt of Shade",
  411.     451 =>  "Deepscar's Den",
  412.     452 =>  "Field of Scale",
  413.     453 =>  "Kaesora Library",
  414.     454 =>  "Kaesora Hatchery",
  415.     455 =>  "Kurn's Tower",
  416.     456 =>  "Bloody Kithicor",
  417.     457 =>  "Old Commonlands",
  418.     458 =>  "Highpass Hold",
  419.     459 =>  "The Void",
  420.     460 =>  "The Void",
  421.     461 =>  "The Void",
  422.     462 =>  "The Void",
  423.     463 =>  "The Void",
  424.     464 =>  "The Void",
  425.     465 =>  "The Void",
  426.     466 =>  "Oceangreen Hills",
  427.     467 =>  "Oceangreen Village",
  428.     468 =>  "BlackBurrow",
  429.     469 =>  "Temple of Bertoxxulous",
  430.     470 =>  "Korafax, Home of the Riders",
  431.     471 =>  "Citadel of the Worldslayer",
  432.     472 =>  "Old Bloodfields",
  433.     473 =>  "The Precipice of War",
  434.     474 =>  "City of Dranik",
  435.     475 =>  "Toskirakk",
  436.     476 =>  "Korascian Warrens",
  437.     477 =>  "Rathe Council Chamber",
  438.     480 =>  "Brell's Rest",
  439.     481 =>  "Fungal Forest",
  440.     482 =>  "The Underquarry",
  441.     483 =>  "The Cooling Chamber",
  442.     484 =>  "Kernagir, the Shining City",
  443.     485 =>  "Arthicrex",
  444.     486 =>  "The Foundation",
  445.     487 =>  "Lichen Creep",
  446.     488 =>  "Pellucid Grotto",
  447.     489 =>  "Volska's Husk",
  448.     490 =>  "Brell's Temple",
  449.     491 =>  "The Convorteum",
  450.     492 =>  "Brell's Arena",
  451.     493 =>  "Wedding Chapel",
  452.     494 =>  "Wedding Chapel",
  453.     495 =>  "Lair of the Risen",
  454.     700 =>  "The Feerrott",
  455.     701 =>  "House of Thule",
  456.     702 =>  "House of Thule, Upper Floors",
  457.     703 =>  "The Grounds",
  458.     704 =>  "The Library",
  459.     705 =>  "The Well",
  460.     706 =>  "Erudin Burning",
  461.     707 =>  "Morell's Castle",
  462.     708 =>  "Sanctum Somnium",
  463.     709 =>  "Al'Kabor's Nightmare",
  464.     710 =>  "Miragul's Nightmare",
  465.     711 =>  "Fear Itself",
  466.     712 =>  "Sunrise Hills",
  467.     724 =>  "Argath, Bastion of Illdaera",
  468.     725 =>  "Valley of Lunanyn",
  469.     726 =>  "Sarith, City of Tides",
  470.     727 =>  "Rubak Oseka, Temple of the Sea",
  471.     728 =>  "Beasts' Domain",
  472.     729 =>  "The Resplendent Temple",
  473.     730 =>  "Pillars of Alra",
  474.     731 =>  "Windsong Sanctuary",
  475.     732 =>  "Erillion, City of Bronze",
  476.     733 =>  "Sepulcher of Order",
  477.     734 =>  "Sepulcher East",
  478.     735 =>  "Sepulcher West",
  479.     752 =>  "Shard's Landing",
  480.     753 =>  "Valley of King Xorbb",
  481.     754 =>  "Kael Drakkel: The King's Madness",
  482.     755 =>  "East Wastes: Zeixshi-Kar's Awakening",
  483.     756 =>  "The Crystal Caverns: Fragment of Fear",
  484.     757 =>  "The Breeding Grounds",
  485.     758 =>  "Evantil, the Vile Oak",
  486.     759 =>  "Grelleth's Palace, the Chateau of Filth",
  487.     760 =>  "Chapterhouse of the Fallen",
  488.     996 =>  "Art Testing Domain",
  489.     998 =>  "The Forgotten Halls",
  490.     999 =>  "Designer Apprentice");
  491.     if($text=~/Hail/i)
  492.     {
  493.         plugin::Whisper("Your name is $name.");
  494.         plugin::Whisper("You are a Level $ulevel " .  $genders{$client->GetGender()} . " $race $class.");
  495.         plugin::Whisper("Would you like to view your " . quest::saylink("#mystats", 0, "stats") . "?");
  496.         plugin::Whisper("Would you like to view your " . quest::saylink("#myequipment", 1, "equipment") . "?");
  497.         plugin::Whisper("Your start zone is " . $zones{$client->GetStartZone()} . ".");
  498.         plugin::Whisper("We're currently in  " . $zones{$client->GetZoneID()} . ".");
  499.     }
  500.     if($text=~/^#myequipment$/i)
  501.     {
  502.         for($slot = 0; $slot < 22; $slot++)
  503.         {
  504.             if($client->GetItemIDAt($slot) >= 1 && $client->GetItemIDAt($slot) < 400000000)
  505.             {
  506.                 plugin::Whisper("Slot $slot contains: " . quest::varlink($client->GetItemIDAt($slot)));
  507.             }  
  508.             else
  509.             {
  510.                 plugin::Whisper("Slot $slot is empty.");
  511.             }
  512.         }
  513.     }
  514. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement