DEsMOn Posted October 16, 2021 Share Posted October 16, 2021 Hello Everyone, Can any one guide on this get time setting Quote if(#luckyspin != gettime(6)){ set #luckyspin,gettime(6); mes "[Daily Lucky Spin]"; mes "Please wait..."; set [email protected]_r,23; set [email protected]_r,0; set [email protected], 0; set [email protected],rand(1,50); LKS_rolly: for(set [email protected],0; [email protected] < [email protected]; [email protected]++){ [email protected]++; if([email protected]>[email protected]_r){set [email protected], [email protected]_r;} cutin "lucky"[email protected],4; soundeffect "slot_tick.wav",0; //sleep2 rand(1,100); //SET AS RANDOM STOP sleep2 100; } goto LKS_fin; I want to do it for 12hr Only after 12 hr's I should get chance to spin. Thanks in advance !!! VIPLucky_Spin_V.2.txt Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted October 16, 2021 Share Posted October 16, 2021 use gettimetick if (#luckyspin < gettimetick(2)){ #luckyspin = gettimetick(2) + (3600 * 12); 1 Quote Link to comment Share on other sites More sharing options...
0 DEsMOn Posted October 16, 2021 Author Share Posted October 16, 2021 4 hours ago, Emistry said: use gettimetick if (#luckyspin < gettimetick(2)){ #luckyspin = gettimetick(2) + (3600 * 12); Thank you so much sir will change and update soon................THANKS FOR REPLY SIR @Emistry Quote Link to comment Share on other sites More sharing options...
Hello Everyone,
Can any one guide on this get time setting
mes "[Daily Lucky Spin]";
mes "Please wait...";
set [email protected]_r,23;
set [email protected]_r,0;
set [email protected], 0;
set [email protected],rand(1,50);
LKS_rolly:
for(set [email protected],0; [email protected] < [email protected]; [email protected]++){
[email protected]++;
if([email protected]>[email protected]_r){set [email protected], [email protected]_r;}
cutin "lucky"[email protected],4;
soundeffect "slot_tick.wav",0;
//sleep2 rand(1,100); //SET AS RANDOM STOP
sleep2 100;
}
goto LKS_fin;
I want to do it for 12hr
Only after 12 hr's I should get chance to spin.
Thanks in advance !!!
VIPLucky_Spin_V.2.txt
Link to comment
Share on other sites