1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Run command random times

Discussion in 'Skript' started by itzDGaming, Dec 7, 2019.

  1. itzDGaming

    itzDGaming Member

    Joined:
    Dec 7, 2019
    Messages:
    1
    Likes Received:
    0
    Hi all!

    I want run a command random times (between 1-60 minutes).
    How do I start this code?

    Thanks in advance for the answers!
    Sorry for my bad english!
    I'm a beginner skript writer.

    Have a nice day!
     
  2. ZeyKra_

    ZeyKra_ Active Member

    Joined:
    Dec 12, 2019
    Messages:
    29
    Likes Received:
    1
    May be ¯\_(ツ)_/¯

    Code (Text):
    1. command /rdcode:
    2.     trigger:
    3.         set {_random} to a random integer between 1 and 60
    4.         wait {_random} minutes
    5.         #code
     
Loading...