Jump to content

Question

Posted

why is it that it ended saturday 11:59pm. it must end sunday 11:59pm

 
-	script	FloatingRates	-1,{
OnInit:
OnClock0001:
	if(gettime(4)==4  || gettime(4)==5  || gettime(4)==6 ) {
setbattleflag("base_exp_rate"), 1400;
        setbattleflag("job_exp_rate"), 1400;
		atcommand "@reloadmobdb";
		end;
	}
	if(gettime(4) == 0)
	{
		announce "Weekend Exp Event is finished",bc_all,0xFF6060;
		atcommand "@reloadbattleconf";
		atcommand "@reloadmobdb";
	}
	end;

OnMinute02:
	if(gettime(4)==4 || gettime(4)==5 || gettime(4)==6 )
	{
		announce "Weekend Exp Event(Base: 14x, Job: 14x) is active!!",bc_all,0xFF6060;
	}
	end;
}

 

2 answers to this question

Recommended Posts

Posted (edited)

If it's ending on Saturday at midnight and you want it to end on Sunday at midnight then change

if(gettime(4) == 0)

To

if(gettime(4) == 1)

Edited by Nova
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...