View Single Post
  #6  
Old 11-08-2010, 11:06 PM
Jaekob
Sarnak
 
Join Date: May 2010
Posts: 39
Default

Quote:
Originally Posted by Templus View Post
I modified the felwithe paladin guildmaster. changed him all around and renamed him Lord_Xeros. I copied his quest file raneming it Lord_Xeros.pl and here it is: (still not responding to hails)

Lord_Xeros.pl
Code:
sub EVENT_SAY {
if($text=~/hail/i){
quest::say("Aren't you a little short to be a $race?");
#$npc->CastSpell( '345',$userid );
}

sub EVENT_ITEM {
 if(plugin::check_handin(\%itemcount, 18781 => 1)){
        quest::say("Greetings. young paladin!  I am Master Tynkale of the Cleri$
        quest::summonitem("13591");
        quest::faction("105","1");
 }
 if (plugin::check_handin(\%itemcount,  13351 => 1)) {
   quest::say("So you have proven yourself to be a great slayer of beasts.Now i$
   quest::faction( 8, 10);
   quest::faction( 43, 10);
   quest::faction( 178, 10);
   quest::exp(150);
 }
Need a closing bracket in sub EVENT's
The quest::say after the hand in needs to be fixed at the end, I'm guess just a typo, or something like that.
Is Lord_Xeros supposed to cast a spell? If so got to remove the #

Hope this helps
Reply With Quote