Randymarsh9
11-09-2009, 09:59 PM
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?
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.
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.
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.
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.