NPC that will do @monsterkill2

karazu

New member
Messages
1,115
Points
0
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.

 
Code:
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;}
 
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..

 
Back
Top