Multiple KillCount Help.

Join Discord

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
135
Erm... I started working on my 2.3 server again recently and my aim is to finish off my noob quests, So iv started making a few simple killcount scripts. Now i have One ingame and working like a charm which is all well and good, But looking at the way killcount scripts work has conffused me on to how i would make multiple scripts that dont conflict with each other. :confused1:

So i was wondering if some one could possibly point me in the right direction by posting an example of Two KillCount scripts that work and dont conflict with each other?

Any help that can be given would be great!
/Toxin

(P.S) I have tried searching for anything to do with this but all i get is single KillCount script help which is no use to me. :crying:
 

Cba2KillU

LOMCN Veteran
Veteran
Apr 7, 2010
692
1
105
Erm... I started working on my 2.3 server again recently and my aim is to finish off my noob quests, So iv started making a few simple killcount scripts. Now i have One ingame and working like a charm which is all well and good, But looking at the way killcount scripts work has conffused me on to how i would make multiple scripts that dont conflict with each other. :confused1:

So i was wondering if some one could possibly point me in the right direction by posting an example of Two KillCount scripts that work and dont conflict with each other?

Any help that can be given would be great!
/Toxin

(P.S) I have tried searching for anything to do with this but all i get is single KillCount script help which is no use to me. :crying:



dont no if this is wht ur on bout but for my 1st cave i use this as my main npc (hope it helps)

;CHECKS
[@main]
#IF
checknamelist MultiKill/Variables/8.txt
#ACT
goto @done
break
#IF
checknamelist MultiKill/Variables/7.txt
#ACT
goto @4
break
#IF
checknamelist MultiKill/Variables/6.txt
#ACT
goto @main4
break
#IF
checknamelist MultiKill/Variables/5.txt
#ACT
goto @3
break
#IF
checknamelist MultiKill/Variables/4.txt
#ACT
goto @main3
break
#IF
checknamelist MultiKill/Variables/3.txt
#ACT
goto @2
break
#IF
checknamelist MultiKill/Variables/2.txt
#ACT
goto @main2
break
#IF
checknamelist MultiKill/Variables/1.txt
#ACT
goto @1
break
#ELSEACT
goto @main1

;; Main output
[@main1]
<Hello, my name is Jill!>\ \
Welcome, I am new to the world of Mir and I have many of\
challanges for you, if you wish to accept these challanges,\
let me know at any time!\
<Warning you can not use the X to log out if you started the quest!\
Log back to the Char screen!>\
<Begin Quest 1/@quest1> -- <Exit/@exit>

;; Quest 1

[@quest1]
#ACT
addnamelist MultiKill/Variables/1.txt
SET [451] 1
Var Integer Human MultiKill1 0
SaveVar Human MultiKill1 ..\QuestDiary\Variables\Integral.txt
sendmsg 6 "Kill 50 Shadowomas! Come back when you have!"
close
[@1]
#IF
CheckVar Human MultiKill1 > 49
#ACT
goto @1.1
#ELSEACT
goto @1.2
[@1.1]
#ACT
delnamelist MultiKill/Variables/1.txt
addnamelist MultiKill/Variables/2.txt
give gold 10000
CHANGEEXP + 1500
goto @1.3
sendmsg 6 "Congratulations, you have Completed quest 1!"

[@1.2]
<Hello, my name is Tommy!>\ \
You have currently killed <$HUMAN(MultiKill1)> Shadowomas, come back when\
you have killed 50!.\
<exit/@exit>
[@1.3]
Hello again That was just a warm up,\
now its time of the real challenges to begin\
now that i know you are worthy to continue,\
talk to me at any other time to begin more quests!\
<exit/@exit>

;; Quest 2
[@main2]
Hello again//
So, you want another challange huh! Well, this one will be of\
course a little harder, so if you think you have what it takes then\
this one is made for endurance, think you have what it takes? If\
you can complete this one, I will grant you a reward!\
<Begin Quest 2/@quest2> -- <Exit/@exit>

[@quest2]
#ACT
delnamelist MultiKill/Variables/2.txt
addnamelist MultiKill/Variables/3.txt
reset [451] 1
SET [452] 1
Var Integer Human MultiKill2 0
SaveVar Human MultiKill2 ..\QuestDiary\Variables\Integral.txt
sendmsg 6 "Kill 60 Shadowyetis! Come back when you have!"
close
[@2]
#IF
CheckVar Human MultiKill2 > 59
#ACT
goto @2.1
#ELSEACT
goto @2.2
[@2.1]
#IF
checkjob wizard
#ACT
goto @2.11
break
#IF
checkjob taoist
#ACT
goto @2.11
break
#IF
checkjob warrior
#ACT
goto @2.11
break

[@2.11]
#ACT
delnamelist MultiKill/Variables/3.txt
addnamelist MultiKill/Variables/4.txt
CHANGEEXP + 2000
give gold 10000
goto @2.3
sendmsg 6 "Congratulations, you have Completed quest 2!"

[@2.2]
You have currently killed <$HUMAN(MultiKill2)> ShadowYetis, come back when\
you have killed 60!.\
<exit/@exit>
[@2.3]
Congratulations, on killing 60 ShadowYetis.!!!\
<exit/@exit>
;; Quest 3
[@main3]
So so so, you are back for more huh! Well, wise guy! This one will\
require strengh, Oh and i must stress that this is not for the weak.\
Best of luck, muaha!\
<Begin Quest 3/@quest3> -- <Exit/@exit>

[@quest3]
#ACT
addnamelist MultiKill/Variables/5.txt
delnamelist MultiKill/Variables/4.txt
reset [452] 1
SET [453] 1
Var Integer Human MultiKill3 0
SaveVar Human MultiKill3 ..\QuestDiary\Variables\Integral.txt
sendmsg 6 "Kill 70 ShadowSpiders come back when you have"
close
[@3]
#IF
CheckVar Human MultiKill3 > 69
#ACT
goto @3.1
#ELSEACT
goto @3.2
[@3.1]
#ACT
delnamelist MultiKill/Variables/5.txt
addnamelist MultiKill/Variables/6.txt
give gold 10000
CHANGEEXP + 2500
goto @3.3
sendmsg 6 "Congratulations, you have Completed quest 3!"

[@3.2]
You have currently killed <$Human(MultiKill3)> Shadowspiders, come back when\
you have killed 70!.\
<exit/@exit>
[@3.3]
Congratulations, 70 Shadowspiders not on your own must have been a challange\
especially when they are real, anyways!!! Hope you enjoyed your reward\
<exit/@exit>
;; Quest 4
[@main4]
Well your back for more i see,lets. This is my last challenge\
for you i wish you luck. kill 1 shadow!\
<Begin Quest 4/@quest4> -- <Exit/@exit>

[@quest4]
#ACT
addnamelist MultiKill/Variables/7.txt
delnamelist MultiKill/Variables/6.txt
reset [453] 1
SET [454] 1
Var Integer Human MultiKill4 0
SaveVar Human MultiKill4 ..\QuestDiary\Variables\Integral.txt
sendmsg 6 "Kill 1 shadow come back when you have"
close
[@4]
#IF
CheckVar Human MultiKill4 > 0
#ACT
goto @4.1
#ELSEACT
goto @4.2
[@4.1]
#ACT
delnamelist MultiKill/Variables/7.txt
addnamelist MultiKill/Variables/8.txt
give gold 20000
give Ring(Q)
CHANGEEXP + 5000
goto @done
sendmsg 6 "Congratulations, you have Completed quest 4!"

[@4.2]
You have currently killed <$Human(MultiKill4)> Shadow, come back when\
you have killed it!.\
<exit/@exit>
[@done]
You have completed all my quests go see my\
brother in oma cave..!\
<Exit/@exit>
 
Upvote 0

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
135
dont no if this is wht ur on bout but for my 1st cave i use this as my main npc (hope it helps)


Erm... Thats exactly what i needed my friend thanks you very very much!.
Just looking at that script you posted, I can see what was conffussing me and i now know how to work it out... So thanks you again! :thumbup2:
/Toxin

(P.S)- Nice script you got there man.
 
Upvote 0

ashleyuk

Dedicated Member
Dedicated Member
Loyal Member
Nov 18, 2008
2,000
23
145
Hahaha he got the script from iceman:P I help him when he gets stuck tho ;)

Btw did you add me msn? If so i can help you with the scripts:P i don't mind helping out. Ive got most of me server npc's 100% work. So if you have give me a pm and i will try help you as possible:P

Good luck with server:w00t:
 
Upvote 0