[@main]
#IF
CHECKNAMELIST ..\Market_def\bdddone.txt
#ACT
goto @did
#ELSEACT
goto @check
[@did]
Thanks <$USERNAME> but I don't need\
any more Zg's killed for me just yet...\ \ \
<Close/@exit>
[@check]
#IF
CHECKNAMELIST ..\Market_def\bddquest.txt
#ACT
goto @bdd2
#ELSESAY
Hello <$USERNAME>, have you ever seen an ZumaGuardian?\
Well they are all pissed at me because i stole\
a chest of their gold and shared it amongst the people\
of this village. Show them I am not afraid and slay 500\
of them in my name!! <Reward>-100k and 1m EXP.\ \
<OK, I will kill them for you!/@start>\
<Defend your own dishonor!/@exit>
[@start]
#ACT
ADDNAMELIST ..\Market_def\bdddone.txt
SET [20] 1
Var Integer Human ZumaGuardiankills
#SAY
Good luck during your adventure, and tell\
the Oma's I did it for the good of the community!\ \
<Close/@exit>
[@bdd2]
#IF
CHECKVAR HUMAN ZumaGuardianKills > 499
#ACT
ADDNAMELIST ..\Market_def\bdddone.txt
DELNAMELIST ..\Market_def\bddquest.txt
GIVE GOLD 100000
CHANGEEXP + 1000000
SENDMSG 6 "100k Gold and 1m, Experience Points recieved."
#SAY
Thank you very much <$USERNAME>! Maybe\
now I can sleep at night...\ \ \
<Close/@exit>
#ELSESAY
Number of ZumaGuardians killed : <$HUMAN(ZumaGuardiankills)>/500\ \
<Close/@exit>
Copied someones KillCount quest on LOMCN.
But cant seem to get it working, it just adds name str8 to the done list.
Iv got the text files set up correctly.