Luffy 14 Posted August 14, 2014 (edited) Help! can someone help editing this one?dont know how to make it for example.Friday will start Double EXP on 12 pm and will end 12 midnight then Saturday will start again Double EXP on 12 pm and will end 12 midnight until Monday. This is my DROPS.CONF : http://upaste.me/fe7b144307a2d54b8and my Normal Exp/job exp rate is 100x / 100x - script FloatingRate -1,{OnSat0000:OnMon0000:OnInit: if ( gettime(4) == 6 || gettime(4) == 0 ) { announce "Double EXP and DROP rate EVENT started", bc_all; setbattleflag "base_exp_rate", 20000; setbattleflag "job_exp_rate", 20000; setbattleflag "item_rate_common", 4000; setbattleflag "item_rate_heal", 4000; setbattleflag "item_rate_use", 4000; setbattleflag "item_rate_equip", 8000; atcommand "@reloadmobdb"; } else if ( gettime(4) == 1 && gettime(3) == 0 && gettime(2) == 0 ) { announce "Double EXP and DROP rate EVENT ended", bc_all; setbattleflag "base_exp_rate", 10000; setbattleflag "job_exp_rate", 10000; setbattleflag "item_rate_common", 2000; setbattleflag "item_rate_heal", 2000; setbattleflag "item_rate_use", 2000; setbattleflag "item_rate_equip", 4000; atcommand "@reloadmobdb"; } end;} Edited August 14, 2014 by Luffy Quote Share this post Link to post Share on other sites
0 Ridley 295 Posted August 14, 2014 (edited) Mysterious has a Script doing this http://mysterious-project.googlecode.com/svn/trunk/npc/DoubleEXP.txt Edit: Didnt See your Edit gettime(4)== (0: Sunday - 6: Saturday)For The timer use OnClock: Edited August 14, 2014 by Ridley Quote Share this post Link to post Share on other sites
0 Luffy 14 Posted August 14, 2014 (edited) Hi Ridley thank you for the fast reply.still confuse, can you specify the numbers of monday to sunday, i understand now that 0 is sunday and 6 is saturday? so 5 is friday? 4 is thursday? 3 is wed?2 is tue? 1 is monday?then on the OnClock how will i put it there? can you give example? on how it will Start and how will it END XD..3rd, can i add setbattleflag "item_rate_common", 4000; setbattleflag "item_rate_heal", 4000; setbattleflag "item_rate_use", 4000; setbattleflag "item_rate_equip", 8000; on Mysterious script? Edited August 14, 2014 by Luffy Quote Share this post Link to post Share on other sites
Help! can someone help editing this one?
dont know how to make it for example.
Friday will start Double EXP on 12 pm and will end 12 midnight
then
Saturday will start again Double EXP on 12 pm and will end 12 midnight
until Monday.
This is my DROPS.CONF : http://upaste.me/fe7b144307a2d54b8
and my Normal Exp/job exp rate is 100x / 100x
Share this post
Link to post
Share on other sites