I have a script that is supposed to call the guards to come in and kill the non-allied player who hails the king. On my king NPCs I have the following script:
	Quote:
	
	
		
			
				elsif($faction >= 2) 
		{ 
		quest::signal(999139,5); 
		quest::signal(999140,5); 
		quest::say("Why should I suffer the likes of you? You shall pay for your presumptuousness."); 
		quest::shout("GUARDS!"); 
		}
			
		 | 
	
	
 On two of the kingdom guards I have this:
	Quote:
	
	
		
			
				sub EVENT_SIGNAL 
	{ 
	quest::attack($name); 
	quest::shout("The King calls for help!"); 
	}
			
		 | 
	
	
 The shouts work fine in each case, but the guards do not come. I tried changing $name to $client, with the same results. Then I changed $name to the PC's actual name (Neiv), and it worked. Obviously I do not want to hard-code my player name in the quest script. Why isn't $name working? How do I adjust the script to recognize any player who hails the king?