- Mar 15, 2005
- 514
- 13
- 125
Well this is my latest code for a basic NPC for some reason I cant get him to work, I have tried other methods... Currently it keeps saying do you have the book and you can go yes and get the reward and spam this... Any way so yea, basically simple quest, get an item from a drop (mob drops item) then bring it back and you get reward.
Such a basic script and its frustrating I cant sort it out my self :/
Any help appreciated.
/2d
Code:
[@Main]
#IF
checkitem traceysbook
#Say
Do you have my book?\\
<Yes I do/@book>\
<Not yet/@exit>
#ELSEACT
goto @welcome
[@welcome]
#IF
Checknamelist traceyquestc.txt
#act
goto @Tracey
#ELSESAY
Blah blah blah\
Blah Blah\\
<Player Response/@trist>
[@trist]
#If
#ACT
addnamelist traceyquest.txt
#SAY
More blah blah blah\
Blah blah blah\\
<Sounds fair./@exit>\
[@Tracey]
#Say
Take the letter to Blah\
<Ok I will/@Exit>
[@book]
#If
Checkitem TraceysBook
#Act
addnamelist traceyquestc.txt
Take TraceysBook
Give TraceysLetter
#SAY
Thank you, take this to Blah.\
<Thank you./@exit>\
#Elsesay
You do not have my book yet
<I will have soon/@exit>\
Such a basic script and its frustrating I cant sort it out my self :/
Any help appreciated.
/2d