Heres the NPC script I'm using:
[@main]
#IF
check 601[1]
#ACT
goto @getmeat
#ELSEACT
goto @kitcheck
[@kitcheck]
#IF
check 602[1]
#ACT
goto @gotkit
#ELSEACT
goto @main_1
[main_1]
Get me 10 pieces of meat and you can have a\
starter kit. \ \
<do quest/@quest>
<Exit/@exit>
[@quest]
#ACT
set 601[1]
close
[@getmeat]
#IF
check 602[1]
#ACT
goto @gotkit
#ELSEACT
goto @checkmeat
[@gotkit]
You've already had your kit.\ \
<Exit/@exit>
[@checkmeat]
#IF
checkitem meat 10
#ACT
goto @gotmeat
#ELSESAY
Quickly fetch the meat!\ \
<Exit/@exit>
[@gotmeat]
#ACT
set 602[1]
take meat 10
give lightarmour(m) 1
give lightarmour(f) 1
give bronzehelmet 1
give precisionneck 1
give shortsword 1
give steelbracelet 2
give hornring 2
#SAY
Here's the kit I promised.\ \
<Thanks/@exit>
Does any1 know what's wrong with this script?
This is the first time I've tried using tags and whenever I click on the NPC I just get the "You've already had your kit" message.
Thanks in advance for any help.
[@main]
#IF
check 601[1]
#ACT
goto @getmeat
#ELSEACT
goto @kitcheck
[@kitcheck]
#IF
check 602[1]
#ACT
goto @gotkit
#ELSEACT
goto @main_1
[main_1]
Get me 10 pieces of meat and you can have a\
starter kit. \ \
<do quest/@quest>
<Exit/@exit>
[@quest]
#ACT
set 601[1]
close
[@getmeat]
#IF
check 602[1]
#ACT
goto @gotkit
#ELSEACT
goto @checkmeat
[@gotkit]
You've already had your kit.\ \
<Exit/@exit>
[@checkmeat]
#IF
checkitem meat 10
#ACT
goto @gotmeat
#ELSESAY
Quickly fetch the meat!\ \
<Exit/@exit>
[@gotmeat]
#ACT
set 602[1]
take meat 10
give lightarmour(m) 1
give lightarmour(f) 1
give bronzehelmet 1
give precisionneck 1
give shortsword 1
give steelbracelet 2
give hornring 2
#SAY
Here's the kit I promised.\ \
<Thanks/@exit>
Does any1 know what's wrong with this script?
This is the first time I've tried using tags and whenever I click on the NPC I just get the "You've already had your kit" message.
Thanks in advance for any help.
Last edited:
