Jump to content
  • 0

gettime(6) setting can any 1 guide?


DEsMOn

Question


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

use gettimetick

if (#luckyspin < gettimetick(2)){
	#luckyspin = gettimetick(2) + (3600 * 12);

 

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...