Problems with a Starter NPC

DaBop

LOMCN Veteran
Veteran
Loyal Member
Aug 14, 2003
290
0
92
York,England
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.
 
Last edited:

Shard

LOMCN Veteran
Veteran
Loyal Member
Jul 12, 2003
1,267
1
174
[main_1]
Get me 10 pieces of meat and you can have a\
starter kit. \ \
<do quest/@quest>
<Exit/@exit>

also u need an @ infront of the main_1 in the [main_1] bit. That will help with the NPC running properly aswell as the flags.
 

DaBop

LOMCN Veteran
Veteran
Loyal Member
Aug 14, 2003
290
0
92
York,England
changed all the 602[1] flags to [602] 2 but its still telling me Ive already done the quest and i definitely havent lol.

oh and btw i've also changed [main_1] to [@main_1] lol dunno how i missed that :P
 
Last edited:

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Hmm another quest that you've done might have the same flag try useing something else m8

/Miles