mrlongshen 22 Posted December 13, 2015 prontera,150,150,4 script rewards 60,{ mes "Here's your daily reward!"; next; if (#nextrewardtime > gettimetick(2)) { mes "Sorry, it seems you've already got it!"; } else { mes "Take this!"; getitem 512, 1; // Apple #nextrewardtime = gettimetick(2) + 24*60*60; // delay by 1 day } close;} Can someone add after redeem, please redeem again at 9.00 pm on 14.12.2015. I need the date and time. Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted December 13, 2015 prontera,150,180,4 script rewards 1_F_MARIA,{ mes "Here's your daily reward!"; next; if ( #nextrewardtime + .next_take > gettimetick(2) ) { mes "Sorry, it seems you've already got it!"; } else { mes "Take this!"; getitem Apple, 1; #nextrewardtime = gettimetick(2); query_sql "select date_format( now() + interval "+ .next_take +" second,'%l %i %p'), date_format( now() + interval "+ .next_take +" second,'%e.%c.%Y')", .@time1$, .@time2$; mes "Can someone add after redeem, please redeem again at "+ .@time1$ +" on "+ .@time2$ +". I need the date and time."; } close;OnInit: .next_take = 24*60*60; // next time take in seconds. 24*60*60 = 1 Day end;} Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted December 14, 2015 @@AnnieRuru thanks a lot. This mes is funny ! hahaha mes "Can someone add after redeem, please redeem again at "+ .@time1$ +" on "+ .@time2$ +". I need the date and time."; Your are writing back mine hahahahahaha Its should be: Your next redeem will be available at + .@time1$ +" on "+ .@time2$ +". See you later. kikiki. trolling me. btw thanks mam ! Quote Share this post Link to post Share on other sites
0 minx123 2 Posted December 14, 2015 prontera,150,180,4 script rewards 1_F_MARIA,{ mes "Here's your daily reward!"; next; if ( #nextrewardtime + .next_take > gettimetick(2) ) { mes "Sorry, it seems you've already got it!"; } else { mes "Take this!"; getitem Apple, 1; #nextrewardtime = gettimetick(2); query_sql "select date_format( now() + interval "+ .next_take +" second,'%l %i %p'), date_format( now() + interval "+ .next_take +" second,'%e.%c.%Y')", .@time1$, .@time2$; mes "Can someone add after redeem, please redeem again at "+ .@time1$ +" on "+ .@time2$ +". I need the date and time."; } close;OnInit: .next_take = 24*60*60; // next time take in seconds. 24*60*60 = 1 Day end;} can u make it base on ip? Quote Share this post Link to post Share on other sites
0 JoyRo 5 Posted February 8, 2016 Any 1 has a line that checks for IP? Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted February 18, 2016 No. Annie ruru is resting now hehe Quote Share this post Link to post Share on other sites
Can someone add after redeem, please redeem again at 9.00 pm on 14.12.2015. I need the date and time.
Share this post
Link to post
Share on other sites