• 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 comminuty!

    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.

tomiauns

Member
Feb 2, 2017
1
0
0
34
Hello everyone, I wanted to ask if they knew why this did not work or have another way to do this. I'm sorry if English is bad but I'm from Argentina and I'm using the translator :emoji_wink:
I want to make it set if {_timer} has more minutes than {CCK.% Loop-value% .time.reward} but it does not detect this variable as a number. Thank you


code_language.skript:
on join:
    loop {CCK.Codes::*}:
        if {CCK.vips.%loop-value%.tiempo::%player%} is set:
            set {_timer} to difference between {CCK.%loop-value%.vip.timer::%player%} and now
            if {_timer} is more than %{CCK.%loop-value%.tiempo.reward}% minute: #This does not go
                execute console command "/nick tomiauns terminado"
                exit loop
 
Remove the %'s around {CCK.%loop-value%.tiempo.reward}, so it says this

code_language.skript:
if {_timer} is more than {CCK.%loop-value%.tiempo.reward}:
 
Status
Not open for further replies.