How do I set ondate in here? please help setting ondate: 11/04/2014 and will end on 11/19/2014
- script FloatingRates -1,{
OnInit:
//Note: You can always set a standard exp. rate or set it as a rand
set $@brate,1000; // Change the value here for your Base Experience
set $@jrate,1000; // Change the value here for your Job Experience
set $@drate,700;
// =========================
OnDay1103:
{ // Friday, Saturday, Sunday
//Base Experience
setbattleflag("base_exp_rate",$@brate*100);
//Job Experience
setbattleflag("job_exp_rate",$@jrate*100);
// Reload the database
setbattleflag("item_rate_common",$@drate*100);
setbattleflag("item_rate_heal",$@drate*100);
setbattleflag("item_rate_use",$@drate*100);
setbattleflag("item_rate_equip",$@drate*100);
setbattleflag("item_rate_card",$@drate*100);
atcommand "@reloadmobdb";
}
end;
}
// We will announce about the EXP rates every 01 Minute of every Hour so that player's know what's going on
//============================================================================
- script FloatingAnn -1,{
OnMinute00:
if(gettime(4)==0 || gettime(4)==6 || gettime(4)==1 || gettime(4)==2 || gettime(4)==3 || gettime(4)==4 || gettime(4)==5 ) { // Friday, Saturday, Sunday
announce "Super Month Event is currently in affect with :"+($@brate*100)+"x/"+($@jrate*100)+"x rates!",bc_all,0xFF6060;
}
end;
}
//============================================================================
- script FloatingAnn#1 -1,{
OnDay1119:
{ // On Sunday at 11:59pm server time, Double EXP event will end
announce "Super Month Event has finished!",bc_all,0xFF6060;
setbattleflag("base_exp_rate", 1000 ); // Set this rates back to your regular server's rates
setbattleflag("job_exp_rate", 1000 ); // Set this rates back to your regular server's rates
atcommand "@reloadmobdb";
}
end;
}
//============================================================================