blakbord Posted September 1, 2015 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 108 Reputation: 1 Joined: 02/10/12 Last Seen: March 10, 2024 Share Posted September 1, 2015 I have found a floating script and I want to edit it like this..floating rates everyday start at 4pm till 6pm - script triple_exp -1,{ OnInit: // original Base/Job Exp and Drop Rates set .bexp_rate, 1; //Put you rate... set .jexp_rate, 1; //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 Event Starting!", bc_all; callsub L_ratio, 2; } } OnHour12: if( !gettime(4) || ( gettime(4) == 6 && gettime(3) >= 12 ) || ( gettime(4) == 1 && gettime(3) < 12 ) ) { announce "Triple Event is Starting!",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 ); atcommand "@reloadmobdb"; end; } hope that you guys can help me.. thanks in advance.. Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 1, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted September 1, 2015 Change onhour23: to onhour18: Quote Link to comment Share on other sites More sharing options...
blakbord Posted September 3, 2015 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 108 Reputation: 1 Joined: 02/10/12 Last Seen: March 10, 2024 Author Share Posted September 3, 2015 oh thanks, but it's only from monday to friday.. what about saturday and sunday? Quote Link to comment Share on other sites More sharing options...
Radian Posted September 8, 2015 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 1546 Reputation: 192 Joined: 07/23/14 Last Seen: June 24, 2024 Share Posted September 8, 2015 I think it's already applied. from sunday to saturday. gettime(4) != 0 && gettime(4) != 6 Quote Link to comment Share on other sites More sharing options...
Question
blakbord
I have found a floating script and I want to edit it like this..
floating rates everyday start at 4pm till 6pm
hope that you guys can help me.. thanks in advance..
Link to comment
Share on other sites
3 answers 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.