View Single Post
  #1  
Old 04-15-2009, 08:01 AM
Killeverything
Fire Beetle
 
Join Date: Mar 2009
Location: USA
Posts: 27
Default global quest question

I am working on a noob quest and I have been trying to get it to add enters into the quest_global, but I seem to be missing something. do I need to put the quest info into another table? I still need to work on the wording but here is what I have so far


sub EVENT_SAY {

if($text=~/Hail/i)
quest::say("Greetings $name. Would you like me to craft some [armor] for you? ");
}
if($text=~/Armor/i)
quest::say("Yes I have some very nice armor here for you, But you will have to do something for me first.");


if($newquesta == 2){
}
else {
quest::setglobal("newquesta", 1, 5, "F");
quest::setglobal("newquestb", 1, 5, "F");
quest::setglobal("newquestc", 1, 5, "F");
quest::setglobal("newquestd", 1, 5, "F");
quest::setglobal("newqueste", 1, 5, "F");
}
Reply With Quote