wait parsed as timespan doesn't work

  • 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.

MeHow

Active Member
Feb 6, 2017
140
13
18
22
Lithuania
Hey, I am using paper spigot 1.12.2 and skript 2.2-dev37c (no I don't want to change my version, because of reasons...)
wait parsed timespawn doesn't work for me and I don't know why, please help :emoji_slight_smile:

Code:
                if loop-value contains "time:":
                    set {_m} to loop-value
                    replace all "time:" in {_m} with ""  
                   
                    set {_wait} to "%{_m}%" parsed as timespan
                    send "%{_wait}%"
                    wait {_wait}
                    send "k"
 
Last edited:
Hey, I am using paper spigot 1.12.2 and skript 2.2-dev37c (no I don't want to change my version, because of reasons...)
wait doesn't work for me and I don't know why, please help :emoji_slight_smile:

Code:
                if loop-value contains "time:":
                    set {_m} to loop-value
                    replace all "time:" in {_m} with ""  
                   
                    set {_wait} to "%{_m}%" parsed as timespan
                    send "%{_wait}%"
                    wait {_wait}
                    send "k"

what is loop-value set to
 
Status
Not open for further replies.