Help with script to check questdone var.

Login to reply  Page: « < 1 of 1 > »
15 Dec 2009 - 04:072160
Help with script to check questdone var.
Hello again, I'd like my farmer quest master to evaluate if a player has done his quest and respond accordingly. As normal, I have failed to achieve this on my own. What have I done wrong this time? Thanks!

 Farmer~
0 g 100
~
* I want the farmer to ask PC's to help if they have not done the quest VNUM 3000

if %actor.is_pc% && %questdone(3000)% = 1
	wait 1 sec	
	say Thank you %actor.name%!
else
	wait 1 sec	
	say You look fast. Could you help me kill some rabbits?
end
~


15 Dec 2009 - 11:272161
if %actor.is_pc%
  if %actor.questdone(3000)%
    wait 1 sec	
    say Thank you %actor.name%!
  else
    wait 1 sec	
    say You look fast. Could you help me kill some rabbits?
  end
end


__________________
Login to reply  Page: « < 1 of 1 > »