View Single Post
  #1  
Old 01-02-2015, 07:24 PM
Bandor
Hill Giant
 
Join Date: May 2014
Posts: 209
Default Quest not wanting to work

For whatever reason this quest just won't work. The random color wont even work. Im not sure what I missed.


Code:
Quest File for Steppes - Captain_Vahl

sub EVENT_SAY{
    if($text=~/hail/i){               
        plugin::DiaWind("Hello {gold}$name~! Do you come with {r}news~ from {gold}Deevan~? [I have news>");
    }
    if($text=~/news/i){               
        plugin::DiaWind("Wonderful , now give it to me!");
    }
	 elsif($text=~/news/i) && $ulevel < 35) {               
        plugin::DiaWind("Begone {g}$class~ you waste my {r}time~!!!");
	}
	
	sub EVENT_ITEM { 
	if(plugin::check_handin(\%itemcount, 1270 => 1) && $ulevel > 34) { # Note to Captain Vahl
	plugin::DiaWind("Wonderful , Just what Ive been {y}waiting~ for! [Why have you been waiting>");
	}
	if($test=~/waiting/i){
	plugin::DiaWind("These are the {g}battle plans~ from {gold}Deevan~ Himself! I must look them over , for the meantime seek to earn the {y}favor~ of my Advisors. Speak to me again when you have done all they {r}require~");
	}
	}
	
	
	
	
sub EVENT_SPAWN {
	plugin::SetMobColor(quest::ChooseRandom(0..255), quest::ChooseRandom(0..255), quest::ChooseRandom(0..255));
}
__________________
Owner and Developer - Everquest: A New World
Reply With Quote