- Sep 16, 2007
- 72
- 1
- 54
So i have made my first quest NPC, the basic idea is that its a gather quest, but i dont want it to be repeatable. I will explain how the script runs before i explain the problem, the quest is called smuggler
First it runs a name check on file smuggler1quest.txt
if the name flags it says "thanks for your help" (they have completed it)
no flag it moves on to check smuggler1quest1.txt
this list is populated with peoples names who have started the quest
If the name flags up in smuggler1quest1.txt it then asks for the required items etc and dishes out a reward if they have them.
The frustrating thing is im falling down at the last hurdle lol!
If i manually add my name to Smuggler1Quest1.txt i am able to hand in the items it takes them and gives me a reward if i dont have them it exits. So all is good!!
The problem is without adding my name to the list i dont see the quest text i have written to start the quest.
So if it goes
[@Main]
#IF
CHECKNAMELIST Smugler1Quest.txt
#IF
CHECKNAMELIST Smugler1Quest1.txt
<Exit/@exit>
[@exit]
Close
Upto here all works perfect but its the next bit doesnt trigger if no names are in either list. maybe ELSESAY is incorrect?
#ELSESAY
{FCOLOR/10}I'm busy what do you want!{FCOLOR/12}\
<I have been sent to help./@cont>\
<Sorry to disturb you./@exit>\
First it runs a name check on file smuggler1quest.txt
if the name flags it says "thanks for your help" (they have completed it)
no flag it moves on to check smuggler1quest1.txt
this list is populated with peoples names who have started the quest
If the name flags up in smuggler1quest1.txt it then asks for the required items etc and dishes out a reward if they have them.
The frustrating thing is im falling down at the last hurdle lol!
If i manually add my name to Smuggler1Quest1.txt i am able to hand in the items it takes them and gives me a reward if i dont have them it exits. So all is good!!
The problem is without adding my name to the list i dont see the quest text i have written to start the quest.
So if it goes
[@Main]
#IF
CHECKNAMELIST Smugler1Quest.txt
#IF
CHECKNAMELIST Smugler1Quest1.txt
<Exit/@exit>
[@exit]
Close
Upto here all works perfect but its the next bit doesnt trigger if no names are in either list. maybe ELSESAY is incorrect?
#ELSESAY
{FCOLOR/10}I'm busy what do you want!{FCOLOR/12}\
<I have been sent to help./@cont>\
<Sorry to disturb you./@exit>\
Last edited: