Pick up the remaining time

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Cassiano

Member
Mar 3, 2017
1
0
0
I'm new to Skript! So I'm kind of noob! Haha
Wanted know how I can do to get the remaining time from the
"Every 30 minute:" Showing the time remaining on a ScoreBoard!
Can you help with that?
Thanks for listening!
 
Please, do this post in "Scripts" section not in tutorials :l
 
I'm new to Skript! So I'm kind of noob! Haha
Wanted know how I can do to get the remaining time from the
"Every 30 minute:" Showing the time remaining on a ScoreBoard!
Can you help with that?
Thanks for listening!
You have to count down every second for that :emoji_slight_smile:

Is more like a example I haven't tested but it should work:

code_language.skript:
Every second:
    If {timesec} is not set:
        Set {timesec} to 60
        Stop
    If {timesec} is 0:
        If {timemin} is not set:
            Set {timemin} to 30
            Stop
        Else:
            Remove 1 from {timemin}
            Stop
    Else:
        Remove 1 from {timesec}
        Stop
 
Status
Not open for further replies.