NPC gods - check please lol

Desolation Mir2 (Med Rate Server)

NickAKAVexus

Golden Oldie
Golden Oldie
Apr 16, 2005
1,427
1
125
New york
I'm a noob with scripting so can some one please tell me if this will work properly? It has so many checks to avoid npc exploits. :P

Code:
[@quest1]
#IF
CHECK [777] 1
#SAY
I'm a bit busy please don't disturb me!\
\
<Ok!/@exit>\
#ELSEACT
#IF
checkitem RawMeat 10
#ACT
goto @quest3
break
#ELSESAY
Would you like to do a little deed for me?\
\
<Yes/@quest2>, <No sorry!/@exit>\

[@quest2]
#IF
CHECK [777] 1
#SAY
I'm a bit busy please don't disturb me!\
#ELSESAY
If you bring me 10 RawMeats I will reward you!\
\
<Ok/@exit>\

[@quest3]
#IF
CHECK [777] 1
#SAY
I'm a bit busy please don't disturb me!\
\
<Ok/@exit>\
#ELSEACT
#IF
checkitem RawMeat 10
#ACT
SET [777] 1
takeitem RawMeat 10
give Gold 10000
#SAY
Heres your reward, you did well!\
\
<Thank you!/@exit>\