I'm not sure if its out in cvs yet (I think t is - check parser.cpp source) but quest::selfcast("spellid"); I think is what you want. 
 
It causes a spell to be cast on the target - probably for those spells where the target can only be self and can't be cast on others. If you use quest::castspell with those, it causes he spell to be cast on the NPC as I recall. 
		
	
		
		
		
		
		
		
			
				__________________ 
				Maybe I should try making one of these servers...
			 
		
		
		
		
		
		
	
		
		
	
	
	 |