War Event
			 
			 
			
		
		
		
		Hello everyone I am attempting to recreate a war event as of right now, Its not working. But Ideally, I would like to make it a work on a random timer and If not defeated then it would spread to other zones. I'm not 100% certain how to make that happen, but Here is just the basics of what I have. 
 
sub EVENT_SAY 
	{ 
	if($text=~/hail/i) 
		{ 
		plugin::Whisper("${name}, I can only be activated one way. Sorry"); 
 
		} 
		if($text =~ /MYSECRETPASSWORD/i) 
		{ 
quest::broadcast("War! War! War is uppon Norrath! Venkars forces have been spotted in the Greater Faydark! We must drive them back or we risk the loss of Felwithe and the Greater Faydark!");		 
quest::shout("War is uppon us! The forces of Venkar have been sighted in the greater faydark! If they are not driven back we risk loosing not only the Greater Faydark, but Felwithe aswell!"); 
quest::spawn2(1254,0,0,-486.53,-2066.09,-0.09,$h);	#1Scion 
quest::spawn2(1254,0,0,-499.34,-2036.20,-0.09,$h);	#1scion 
quest::spawn2(1254,0,0,-509.26,-2015.23,-0.09,$h);	#1Scion 
quest::spawn2(1254,0,0,-474.10,2013.12,-0.09,$h);	#1Scion   
quest::spawn2(1254,0,0,-458.07,2047.01,-0.09,$h);	#1Scion   
quest::spawn2(1254,0,0,-427.74,-2057.92,-0.09,$h);	#1scion  
quest::spawn2(1254,0,0,-442.10,-2027.04,-0.09,$h);	#1Scion   
quest::spawn2(1254,0,0,-454.15,1996.12,-0.09,$h);	#1Scion   
quest::spawn2(1254,0,0,-455.67,-2019.79,-0.09,$h);	#1Scion NAMED 
quest::spawn2(1254,0,0,-120.84,43.00,0.73,$h);		#2Kelethin   
quest::spawn2(1254,0,0,-145.67,29.33,9.13,$h);		#2Kelethin   
quest::spawn2(1254,0,0,232.74,129.72,8.91,$h);		#2Kelethin   
quest::spawn2(1254,0,0,213.11,149.16,-0.09,$h);		#2Kelethin   
quest::spawn2(1254,0,0,616.66,64.11,77.72,$h);		#2Kelethin   
quest::spawn2(1254,0,0,630.73,65.39,77.72,$h);		#2Kelethin   
quest::spawn2(1254,0,0,623.67,26.01,94.81,$h);		#2Kelethin 
quest::spawn2(1254,0,0,628.96,-22.28,118.16,$h);	#2Kelethin   
quest::spawn2(1254,0,0,612.54,-24.89,118.16,$h);	#2Kelethin   
quest::spawn2(1254,0,0,627.98,-110.90,118.16,$h);	#2Kelethin   
quest::spawn2(1254,0,0,656.61,-89.39,118.16,$h);	#2Kelethin   
quest::spawn2(1254,0,0,671.28,114.67,118.16,$h);	#2Kelethin  
quest::spawn2(1254,0,0,706.00,-181.09,118.16,$h);	#2Kelethin NAMED  
quest::spawn2(1254,0,0,15.02,2400.53,19.24,$h);		#3CB   
quest::spawn2(1254,0,0,39.61,2390.61,19.21,$h):		#3CB   
quest::spawn2(1254,0,0,53.80,2423.32,19.28,$h);		#3CB   
quest::spawn2(1254,0,0,13.32,2454.70,19.42,$h);		#3CB   
quest::spawn2(1254,0,0,34.30,3478.50,19.45,$h);		#3CB   
quest::spawn2(1254,0,0,-7.11,2525.81,19.60,$h);		#3CB 
quest::spawn2(1254,0,0,-39.58,2511.76,19.60,$h);	#3CB Named   
quest::spawn2(1254,0,0,-106.64,-2494.43,2.84,$h);	#4Lfay   
quest::spawn2(1254,0,0,-1033.87,-2492.76,3.90,$h);	#4Lfay 
quest::spawn2(1254,0,0,-996.61,-2493.45,6.02,$h);	#4Lfay   
quest::spawn2(1254,0,0,-1042.26,-2530.59,3.75,$h);	#4Lfay   
quest::spawn2(1254,0,0,-1022.67,-2547.29,3.75,$h);	#4Lfay  
quest::spawn2(1254,0,0,-1085.58,-2592.19,3.75,$h);	#4LFay Named   
	} 
 
} 
 
Some of the mob ID's will be changes as needed, but i just need to get it in working order first. If anyone has any improvements. I would love to see them! 
 
Thanks. 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
			
			
				
			
			
			
		 
		
	
	
	 |