Jump to content
  • 0
louigui0224

Weekeend farm zone.

Question

Hi guys...i already ask for emistry to help me with this script and it was successful but now my problem is i dont know how to put in the script that when the script is activated thats the time when the monster will summon in the map and when the npc will off it will remove all the monster and also kick the players in the map...here is the script.

prontera,156,165,4	script	Coupon Farmer	436,{

 mes "[Quest]";
 mes callfunc("F_Hi");
 mes "I can warp you to the jungle coupon.";
 next;
 menu "Yes, Warp me",-,"Leave",M_EXIT;

 mes "[Quest]";
 mes "Okay all i need to have is just";
 next;
 mes "[Quest]";
 mes "1 million of zeny";
 next;
 mes "[Quest]";
 mes "Do you have all the item?";
 next;
 menu "Yes",-,"No",M_EXIT;
 
 if (Zeny < 1000000) GOTO L_NOITEM;
 set Zeny,Zeny-1000000;
 warp "moc_ruins" ,0,0;
 mes "[Quest]";
 mes "Thank you very much!";
 mes callfunc("F_Bye");
 close;

L_NOITEM:
 mes "[Quest]";
 mes "Sorry you don't have zeny.";
 emotion e_sry;
 close;

M_EXIT:
 mes "[Quest]";
 mes callfunc("F_Bye");
 close;

	OnInit:
		waitingroom "Donation Farmzone 2 Hours",0;
	OnMinute00:
		if (( gettime(DT_DAYOFWEEK) == SATURDAY || gettime(DT_DAYOFWEEK) == SUNDAY ) 
			&& (( gettime(DT_HOUR) >= 11 && gettime(DT_HOUR) < 12 )
				|| ( gettime(DT_HOUR) >= 18 && gettime(DT_HOUR) < 19 ))
		) {
			enablenpc strnpcinfo(3);
		}
		else {
			disablenpc strnpcinfo(3);
		}
		end;

 

Edited by louigui0224
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...

Important Information

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