- Oct 31, 2004
- 799
- 1
- 125
Npc
MapQuest_def
MapQuest.txt
Qmange
i have a bit of trouble with this for some reason it dont work for the other mobs only the bonefighter you kill ten bonefighter and it says you have killed Ten cavemaggots, cavebats. what have i done wrong plz!
Code:
[@main]
#IF
CHECKNAMELIST ..\MapQuest_def\Quests\OmaComplete1.txt
#SAY
Thanks you for you help <$USERNAME>. \ \
<Exit/@exit>
#ACT
BREAK
#IF
CHECKNAMELIST ..\MapQuest_def\Quests\OmaComplete.txt
#SAY
Thanks you for you help <$USERNAME>. Please take this reward. \ \
<Exit/@exit>
#ACT
ADDNAMELIST ..\MapQuest_def\Quests\OmaComplete1.txt
GIVE Gold 10000
Give Smalldcstone 1
BREAK
#IF
CHECKNAMELIST ..\MapQuest_def\Quests\OmaStart.txt
#SAY
You have killed <$Human(BoneFighter)>/10 BoneFighter. \
You have killed <$Human(CaveMaggot)>/10 CaveMaggot. \
You have killed <$Human(CaveBat)>/10 CaveBat. \
Please come back when you have killed all Ten. \ \
<Exit/@exit>
#ACT
BREAK
#ELSESAY
Hi would you like to take the quest? \ \
<Yes/@accept> || <No/@exit>
[@accept]
#SAY
Sweet. Come back when you've killed 10 BoneFighter, \
10 CaveMaggot & 10 CaveBat\
#ACT
ADDNAMELIST ..\MapQuest_def\Quests\OmaStart.txt
SET [101] 1
Var Integer Human BoneFighter 0
SaveVar Human BoneFighter ..\QuestDiary\Variables\Integral.txt
Var Integer Human CaveMaggot 0
SaveVar Human CaveMaggot ..\QuestDiary\Variables\Integral.txt
Var Integer Human CaveBat 0
SaveVar Human CaveBat ..\QuestDiary\Variables\Integral.txt
MapQuest_def
Code:
[@main]
#IF
CheckVar Human BoneFighter = 10
CheckVar Human CaveMaggot = 10
CheckVar Human CaveBat = 10
#ACT
BREAK
#IF
CheckVar Human BoneFighter = 9
CheckVar Human CaveMaggot = 9
CheckVar Human CaveBat = 9
#ACT
GOTO @finish
BREAK
#IF
CheckVar Human BoneFighter < 9
CheckVar Human CaveMaggot < 9
CheckVar Human CaveBat < 9
#ACT
CalcVar Human BoneFighter + 1
SaveVar Human BoneFighter ..\QuestDiary\Variables\Integral.txt
CalcVar Human CaveMaggot + 1
SaveVar Human CaveMaggot ..\QuestDiary\Variables\Integral.txt
CalcVar Human CaveBat + 1
SaveVar Human CaveBat ..\QuestDiary\Variables\Integral.txt
BREAK
#ELSEACT
BREAK
[@finish]
#ACT
SET [101] 0
CalcVar Human BoneFighter + 1
SaveVar Human BoneFighter ..\QuestDiary\Variables\Integral.txt
CalcVar Human CaveMaggot + 1
SaveVar Human CaveMaggot ..\QuestDiary\Variables\Integral.txt
CalcVar Human CaveBat + 1
SaveVar Human CaveBat ..\QuestDiary\Variables\Integral.txt
ADDNAMELIST ..\MapQuest_def\Quests\OmaComplete.txt
#SAY
You have killed enough Monster to finish the quest. Return to the NPC for you \
prize. \ \
<Exit/@exit>
MapQuest.txt
Code:
D001 [101] 1 BoneFighter * omacave
D001 [101] 1 CaveMaggot * omacave
D001 [101] 1 CaveBat * omacave
Qmange
Code:
[@login]
#IF
#ACT
Var Integer Human BoneFighter
LoadVar Human BoneFighter ..\QuestDiary\Variables\Integral.txt
Var Integer Human CaveMaggot
LoadVar Human CaveMaggot ..\QuestDiary\Variables\Integral.txt
Var Integer Human CaveBat
LoadVar Human CaveBat ..\QuestDiary\Variables\Integral.txt
break
i have a bit of trouble with this for some reason it dont work for the other mobs only the bonefighter you kill ten bonefighter and it says you have killed Ten cavemaggots, cavebats. what have i done wrong plz!