Jump to content
  • 0

R > Week end Increase rate script


Question

Posted

good day !!!

 

i would like to request  a working Weekend Increase rate

every sat and sunday only

if the day is monday the script disable automaticaly

 

and start again when saturday come

 

thank you

 

note : i already test all script i search here but still not get what i need thank you so much

4 answers to this question

Recommended Posts

  • 0
Posted
-	script	FloatingRates	-1,{
OnInit:
OnClock0001:
	if(gettime(4)==6  || gettime(4)==0 ) {
		set .br,getbattleflag("base_exp_rate")*2;
		set .jr,getbattleflag("job_exp_rate")*2;
		setbattleflag("base_exp_rate"), .br;
		setbattleflag("job_exp_rate"), .jr;
		atcommand "@reloadmobdb";
		end;
	}
	if(gettime(4) == 1)
	{
		announce "Weekend Exp Event is finished",bc_all,0xFF6060;
		atcommand "@reloadbattleconf";
		atcommand "@reloadmobdb";
	}
	end;

OnMinute02:
	if(gettime(4)==6  || gettime(4)==0 )
	{
		announce "Weekend Exp Event(Base:"+.br/100+"x, Job:"+.jr/100+"x) is active!!",bc_all,0xFF6060;
	}
	end;
}

 

  • Upvote 1
  • 0
Posted
15 hours ago, Cyro said:

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

OnMinute02:
	if(gettime(4)==6  || gettime(4)==0 )
	{
		announce "Weekend Exp Event(Base:"+.br/100+"x, Job:"+.jr/100+"x) is active!!",bc_all,0xFF6060;
	}
	end;
}

 

thank you

 

is this script only work for saturday and sunday only? and double the expirience on that days??

 

and if the day is not saturday or sunday it will not work?? and the rates will be back to normal??

  • 0
Posted
Just now, Questune09 said:

 

is this script only work for saturday and sunday only? and double the expirience on that days??

 

and if the day is not saturday or sunday it will not work?? and the rates will be back to normal??

yes

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