lhz_dun03,236,81,4 script Lighthalzen Tomb Guardian 640,{
if(lhz_lhz >=1) goto L_warps1;
if(lhz_lhz < 1)
{
mes "[ Guardian ]";
mes "To enter the tomb you need to prove your strength to me";
mes "You need to kill";
mes "200 Seyren Windsor.";
mes "200 Kathryn Keyron.";
mes "200 Howard Alt-Eisen";
next;
mes "200 Margaretha Sorin.";
mes "200 Eremes Guile.";
mes "200 Cecil Damon";
next;
mes "Are you up for the challenge?";
menu "Yes",-,"Nope",N_ono;
next;
if(SeyrenKills < 100) goto l_nokills;
if(KathrynKills < 100) goto l_nokills;
if(HowardKills < 100) goto l_nokills;
if(MargarethaKills < 100) goto l_nokills;
if(EremesKills < 100) goto l_nokills;
if(CecilKills < 100) goto l_nokills;
if(SeyrenKills >= 100) goto l_fullkill;
if(KathrynKills >= 100) goto l_fullkill;
if(HowardKills <>= 100) goto l_fullkill;
if(MargarethaKills >= 100) goto l_fullkill;
if(EremesKills >= 100) goto l_fullkill;
if(CecilKills >= 100) goto l_fullkill;
close;
L_warps1:
mes "[ Guardian ]";
mes "Do you wan to enter the tomb?";
menu "Yes",-,"Nope",N_ono;
next;
if (countitem(7876) < 1) {
dispbottom "Sorry, but you need the Lighthalzen Tomb Key to Enter";
end;
}
warp "lhz_dun_n",96,203;
end;
}
l_nokills:
mes "[ Guardian ]";
mes "You didn't kill enough monsters!";
close;
l_fullkill:
mes "[ Guardian ]";
mes "You have proven your strength to me now go";
mes "and be careful";
getitem 7876,1;
set lhz_lhz,1;
close;
N_ono:
mes "[ Guardian ]";
mes "Okay, talk to me later.";
close;
OnNPCKillEvent:
if(killedrid == 1634) //Seyren
{
dispbottom "You have killed monster Seyren +1 , Total Killed : [ "+#SeyrenKills+" ] ";
set SeyrenKills,SeyrenKills + 1;
}else if (killedrid == 1639) //Kathryn
{
dispbottom "You have killed monster Kathryn +1 , Total Killed : [ "+#KathrynKills+" ] ";
set KathrynKills,KathrynKills + 1;
}else if (killedrid == 1636) //Howard
{
dispbottom "You have killed monster Howard +1 , Total Killed : [ "+#HowardKills+" ] ";
set HowardKills,HowardKills + 1;
}else if (killedrid == 1637) //Margaretha
{
dispbottom "You have killed monster Margaretha +1 , Total Killed : [ "+#MargarethaKills+" ] ";
set MargarethaKills,MargarethaKills + 1;
}else if (killedrid == 1635) //Eremes
{
dispbottom "You have killed monster Eremes +1 , Total Killed : [ "+#EremesKills+" ] ";
set EremesKills,EremesKills + 1;
}else if (killedrid == 1638) //Cecil
{
dispbottom "You have killed monster Cecil +1 , Total Killed : [ "+#CecilKills+" ] ";
set CecilKills,CecilKills + 1;
}
end;
}
Help with this script i cant get it working any advice will help thanks.