Thread: qglobal's
View Single Post
  #3  
Old 01-15-2010, 11:18 AM
jkennedy
Hill Giant
 
Join Date: Dec 2009
Posts: 175
Default

Ok i figured out how to check them just wondering why this quest right here will set the epic1.5 value 1 and not do the rest of the quest
Code:
sub EVENT_SAY {  if ($text=~/hail/i) {
     quest::say("How Are you today, $name Bring me One Peice of Epic Weapon From Karnor for your  epic1.5 quest?");
     quest::setglobal("Epic1.5",1,0,"f"); 
} }
sub EVENT_ITEM {
 
   if (($itemcount {1387} == 1)) && ($Epic1.5 == 1) {
    quest::say("Now i need your third peice of your Epic1.5 From Netherbian");
    quest::setglobal("Epic1.5",2,0,"f"); } 
   
if (($itemcount {1001} == 1)) && ($Epic1.5 == 2) {
    quest::say("Now i need your third peice of your Epic1.5 From Netherbian");
    quest::setglobal("Epic1.5",3,0,"f"); } 
    
     if (($itemcount {1002} == 1)) && ($Epic1.5 == 3) {
    quest::say("Now i need your fourth peice of your Epic1.5 From Dulak");
    quest::setglobal("Epic1.5",4,0,"f"); } }
Reply With Quote