Jump to content
  • 0
Sign in to follow this  
karazu

NPC that will do @monsterkill2

Question

Hi Can anyone make me an NPC that will do @monsterkill2 command for me?

If someone will click it he will ask you what do u want to do.

Menu is 

 

Refresh Monster 

and 

 

 Cancel 

 

And it has a 1 Hour delay or 1 hour coldown that this NPC can be used again.

This is for my Custom MAP, because some of my monster will stock in certain area of the map and I cannot be online anytime so thats why I want players can do it also for me.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
prontera,150,150,0	script	Sample	123,{	if ( #timer > gettimetick(2) ) {		mes "[Sample]";		mes "Time left before you can use me : " +(#timer - gettimetick(2))+ " seconds.";		close;	}	mes "[Sample]";	mes "What you want to do?";	next;	if (select("Refresh Monster:Cancel") - 1) close;	mes "[Sample]";	mes "Done!";	#timer = gettimetick(2) + 3600000;	close2;	atcommand "@killmonster2";	end;}

Share this post


Link to post
Share on other sites
  • 0

 

prontera,150,150,0	script	Sample	123,{	if ( #timer > gettimetick(2) ) {		mes "[Sample]";		mes "Time left before you can use me : " +(#timer - gettimetick(2))+ " seconds.";		close;	}	mes "[Sample]";	mes "What you want to do?";	next;	if (select("Refresh Monster:Cancel") - 1) close;	mes "[Sample]";	mes "Done!";	#timer = gettimetick(2) + 3600000;	close2;	atcommand "@killmonster2";	end;}

Thank you Very much..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.