My first .pl
			 
			 
			
		
		
		
		Starting my questing tradeskill out on something easy, I thought, on a soulbinder in gfay.  I used Soulbinder Oakstout.  Here is two texts I used off the boards and both brought on a reply to "Hail", but when I said bind my soul, nothing happens on either of the two pl's I tried. 
 
sub EVENT_SAY { 
if ($text=~/Hail/i){quest::say("Greetings $name . When a hero of our world is slain. their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity. it is my duty to [bind your soul] to this location if that is your wish."); } 
if ($text=~/bind my soul/i) 
{ 
quest::say("Very well. You will return to this spot when you die."); 
quest::selfcast(2049); } 
} 
#END OF FILE ZONE:GFAYDARK NPCID:54179 SOULBINDER_OAKSTOUT 
 
"and the other one" 
 
 
sub EVENT_SAY 
{ 
if($text=~/Hail/i){quest::say("Greetings $name. When a hero of our world is slain  their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity  it is my duty to [bind your soul] to this location if that is your wish.");} 
if($text=~/bind my soul/i) 
  { 
  quest::say("Binding your soul.  You will return here when you die."); 
  quest::castspell($userid,2049); 
  } 
} 
 
Notice I tried both ways to cast and it didnt work. 
Thanks. 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
			
			
				
			
			
			
		 
		
	
	
	 |