Dev Blaze Posted May 6, 2016 Group: Members Topic Count: 68 Topics Per Day: 0.01 Content Count: 212 Reputation: 5 Joined: 01/24/12 Last Seen: February 19, 2019 Share Posted May 6, 2016 (edited) Help me Monday to Friday Double Exp Rate 4:00PM ~ 11:00PMWeekend Triple EXP Event Starting Saturday 12:00AM it will give x3 Exp until Monday 12:00AM The problem is 12:00am Satuday the Triple Exp Event was not open what is the problem Any idea??? - script triple_exp -1,{ OnInit: // original Base/Job Exp and Drop Rates set .bexp_rate, 8; //Put you rate... set .jexp_rate, 8; //put you rate... OnHour16: OnHour23: if( gettime(4) != 0 && gettime(4) != 6 || ( gettime(4) == 1 && gettime(3) >= 16 ) ) { // Monday to Friday if( gettime(3) >= 23 || gettime(3) < 16 ) { announce "Double Event is finished!",bc_all,0xFF6060; callsub L_ratio, 1; } else { announce "Double Exp Event is currently in affect, Enjoy and have a great day!",bc_all,0xFF6060; callsub L_ratio, 2; } } OnHour12: if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) { announce "Weekend Triple Exp Event is currently in affect, Enjoy and have a great day!",bc_all,0xFF6060; callsub L_ratio, 3; } else if( gettime(4) == 1 && gettime(3) == 12 ) { announce "Triple Event is finished!",bc_all,0xFF6060; callsub L_ratio, 1; } else callsub L_ratio, 1; end; L_ratio: setbattleflag "base_exp_rate", .bexp_rate * 100 * getarg( 0 ); setbattleflag "job_exp_rate", .jexp_rate * 100 * getarg( 0 ); set .ratio, getarg( 0 ); atcommand "@reloadmobdb"; end; OnMinute01: if( .ratio == 3 ) announce "Weekend Triple EXP Event is currently in affect, Enjoy and have a great day!",bc_all,0xFF6060; end; } Edited May 6, 2016 by Dev Blaze Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted May 7, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted May 7, 2016 OnHour12: if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) { it only trigger on these day.. 12PM Sunday - should work on 12PM 12PM Saturday - should work on 12PM 12PM Monday - failed bcause trigger on 12 but you set it before 12PM Quote Link to comment Share on other sites More sharing options...
Question
Dev Blaze
Help me
Monday to Friday Double Exp Rate 4:00PM ~ 11:00PM
Weekend Triple EXP Event Starting Saturday 12:00AM it will give x3 Exp until Monday 12:00AM
The problem is 12:00am Satuday the Triple Exp Event was not open what is the problem Any idea???
Edited by Dev BlazeLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.