quest help

twigletuk

Golden Oldie
Golden Oldie
Oct 17, 2005
586
7
125
Crewe Cheshire
how do i etc

make a quest npc that tells u go in bc kill 100 mobs u get exp gold 4 reward

when u dne tht quest gives u quest 2
u go get 50 bug legs etc u get reward exp gold etc

then part 3 u kill 1 ec

u get reward exp gold etc

then when u finished u cnt restart then just says u dne all quest i have for u thnx blah blah


/Thnx
 

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
how do i etc

make a quest npc that tells u go in bc kill 100 mobs u get exp gold 4 reward

when u dne tht quest gives u quest 2
u go get 50 bug legs etc u get reward exp gold etc

then part 3 u kill 1 ec

u get reward exp gold etc

then when u finished u cnt restart then just says u dne all quest i have for u thnx blah blah


/Thnx

A script like this isnt hard if you know how to script, but it would take some time to draw up, its unlikely anyone is going to spend half an hour making you a script for nothing in return, if it was a 2 min job i would make one for you but it needs addnamelists and checknamelists etc, get some experience then you can do any script you want, there really simple scripts when you know how to do them.
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,201
61
155
uk
Took this from my server it's only the kill count quest though, add a folder called Quests in the npc_def folder.

npc.....
Code:
[@main]
#IF
CHECKNAMELIST Quests\bugcavestart.txt
#ACT
GOTO @questbug
break

#IF
CHECKNAMELIST Quests\Completebugcave.txt
#ACT
GOTO @main2
#ELSESAY
<Reward = Exp 50k, Gold 50k, ExpPotion(1.2)> \ \ \
<To complete this quest you need to kill 1000 Mobs>\ \
<Begin the quest/@attemptbug> \
<Not now thanks/@exit>

[@attemptbug]
#IF
#ACT
addnamelist Quests/bugcavestart.txt
SET [004] 1
Var Integer Human bugcave
#SAY
Good luck,you can come back to me to check how many \
Monsters you have killed. \\
<Exit/@exit>

[@questbug]
#IF
CheckVar Human bugcave > 999
#SAY
Well done, you have killed enough Monsters here's your reward. \ \
#ACT
ADDNAMELIST Quests\Completebugcave.txt
DELNAMELIST Quests\bugcavestart.txt
SET [004] 0
CHANGEEXP + 50000
GIVE GOLD 50000
GIVE ExpPotion(1.2) 1
SENDMSG 6 "Quest complete, 50k Gold & 50k Experience obtained."
close
#ELSESAY
Number of monsters killed : <$HUMAN(bugcave)> /1000 \
<Exit/@exit>

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; QUEST 2 ;;;;;;;;;;;;;;;;;;;

[@main2]
#IF
CHECKNAMELIST Quests\buglegcomplete.txt
#ACT
GOTO @main3
#ELSESAY
<Reward = Exp 60k & Gold 60k> \ \ \
<To complete this quest you need to collect 50 buglegs>\ \
<Begin the quest/@startbugleg> \
<Not now thanks/@exit>

[@startbugleg]
#IF
CHECKITEM BugLeg 50
#ACT
TAKE BugLeg 50
GIVE GOLD 60000
CHANGEEXP + 60000
SENDMSG 6 "Quest complete, 60k Gold & 60k Experience obtained."
ADDNAMELIST Quests\buglegcomplete.txt
close
#ELSESAY
I need 50 Buglegs....

[@main3]
coming soon ...
 
Last edited:
Upvote 0