Ressurection Script for Guild Lobby
Here is a little script that will cast 96% rez on your corpse. I wrote it and attached to some npc's in the guild lobby. Could probably use a little tweaking but works fine for my needs.
Code:
#NPC Rez script by druid64 01-16-2012 |
script for summond your corpse's in pok.
#Lordkeeper Antnov.pl #LOC Pok (-229.65,-197.30,-155.31) sub EVENT_SAY { $charid = 0; $corpse = 0; $charid = $client->CharacterID(); $x = $npc->GetX(); $y = $npc->GetY(); $z = $npc->GetZ(); $corpse = quest::getplayerburriedcorpsecount($charid); sub EVENT_SAY { if($text=~/Hail/i){ quest::say("Greetings $Name! If you wish to Improve yourself Just [Ask] and, if I am able, I will increase your power. I also have The Ability to [Summon] any corpses you may be missing."); } if($text=~/AsK/i) { $client->Message("Vary well, $name, I will grant you what power I am able."); #ASk if($text=~/Summon/i && $corpse == 0) { $client->Message("Vary well, $name, I shell Recover your Corpses! "); quest::summonburriedplayercorpse($charid, $x, $y, $z, 0); $corpse = 0; $charid = 0; } sub EVENT_SPAWN { $x = $npc->GetX(); $y = $npc->GetY(); quest::set_proximity($x - 229.65, $x -197.30, $y -155.31, $y + 0); } } sub EVENT_ITEM { quest::say("I have no use for this, $name."); plugin::return_items(\%itemcount); } #END of FILE Zone:poknowledge |
NoPort,
I don't know where you got that script or if it is one that you wrote, but that has quite a few things wrong with it. More than 1 EVENT_SAY, missing closing brackets, a proximity set on spawn that isn't used, typos, etc etc. |
lmao I was wondering about that too. A random post after mine I thought he would have posted separately.
|
All times are GMT -4. The time now is 10:55 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.