View Single Post
  #1  
Old 11-09-2009, 09:59 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Help with some short quests

I have been away from quest-making for wayyyyy too long, so I won't put it passed myself to make some stupid mistakes. Can anyone tell me what is wrong with these two player.pl quests?

Code:
sub EVENT_LEVEL_UP{
 if ($ulevel <=70){
 quest::scribespells($ulevel);
 quest::traindiscs($ulevel);
 $client->Message(5,"Scribing spells and disciplines....");
}
 else{
 $client->Message(5,"You must acquire your skills for this level by other means.");
 }
}
It is placed in the templates folder.


Code:
sub EVENT_ENTER_ZONE{
 if (!defined($qglobals{newchar})){
 $client->Message(5,"gfgdsgdfs.");
 quest::setglobal("newchar", 1, 5, "F");
}
}
This is placed in a zone's quest folder. I want it to just display a message the first time someone zones in there.
Reply With Quote