Jump to content
  • 0

Monster kill script


Intermary

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

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.

Edited by Intermary
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   2
  • Joined:  11/17/16
  • Last Seen:  

What error do you get?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...