DEsMOn Posted October 16, 2021 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 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 .@max_r,23; set .@min_r,0; set .@l, 0; set .@r,rand(1,50); LKS_rolly: for(set .@i,0; .@i < .@r; .@i++){ .@l++; if(.@l>.@max_r){set .@l, .@min_r;} cutin "lucky"+.@l,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 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 14 hours ago 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 Group: Members Topic Count: 63 Topics Per Day: 0.04 Content Count: 172 Reputation: 1 Joined: 11/16/20 Last Seen: November 4, 2023 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...
Question
DEsMOn
Hello Everyone,
Can any one guide on this get time setting
mes "[Daily Lucky Spin]";
mes "Please wait...";
set .@max_r,23;
set .@min_r,0;
set .@l, 0;
set .@r,rand(1,50);
LKS_rolly:
for(set .@i,0; .@i < .@r; .@i++){
.@l++;
if(.@l>.@max_r){set .@l, .@min_r;}
cutin "lucky"+.@l,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
2 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.