View Single Post
  #10  
Old 09-04-2004, 04:57 PM
Deimos
Hill Giant
 
Join Date: Jun 2004
Posts: 135
Default

I think it should work now, I can't wait to test it. I do not own my own server and can't install PERL, so I can't test it until other guy comes on =D. This is now what it looks like =).

Code:
###################################
#Zone:					                                                          #
#Short Name: potimea 			                                       #
#Long Name: Plane of Time A 		                               #
#Zone ID:219 				                                                 #
###################################
#NPC:					                                                            #
#NPC Name: A Powerful Rogue		                              #
#NPC ID: 281268				                                             #
###################################
sub EVENT_SAY 
{
	###############################################################
	if($text=~/hail/i)
	{
		if($class == "Rogue")
		{
			if($ulevel > 64)
				{
				quest::say("The Plane of Time is a dangerous place.
				In this plane is the Father of Time himself. We all
				call him Father Time. He has a weapon I would really
				love to get my hands on and if you are up to it you
				could maybe get this [object] I am in need of.");
				}
		else
			{
			quest::emote("stares at you knowing that you can
			server a purpose for her but that you are not yet
			powerful enough to do it.");
			}
		}
	else 
		{
		quest::say("I will only speak with those who have chosen
		the same path as me. Begone!");
		}
	}
	###############################################################
	if($text=~/object/i)
	{
		if($class == "Rogue")
		{
			if($ulevel > 64)
			{
			quest::say("This weapon is called the Staff of Flowing
			Time and as a Rogue you will have no need for it. I
			need it though for that new Thieves Guild. I can't join
			it unless I provide it to them to prove my power. I can't
			talk Father Time into giving me the staff though. I am
			looking for someone to [kill] him. Are you willing?");
			}
		}
	}
	###############################################################
	if($text=~/kill/i) 
	{
		if($class == "Rogue")
		{
			if($ulevel > 64)
			{
			quest::say("I will reward you for bringing me back
			his Staff of Flowing Time. It is the One-Handed Blunt
			type so make sure you bring me the right one or I am
			going to take it for myself. Your reward is a special
			spear made specifically for a rogue. It can only be
			used for rogues. Bring me the staff and I will give
			you the spear.");
			}
		}
	}
}

sub EVENT_ITEM 
{
	###############################################################
	if($itemcount{69250} == 1)
	{

		quest::say("Aha! The Staff of Flowing Time! As promissed
		here is your spear!");

		quest::emote("hands you the spear.");

		quest::summonitem(69011);
	}
}

#( END of FILE )
Reply With Quote