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

Loop range??

Discussion in 'Skript' started by Skoll, Mar 23, 2023.

Tags:
Thread Status:
Not open for further replies.
  1. Skoll

    Skoll Active Member

    Joined:
    Sep 2, 2020
    Messages:
    65
    Likes Received:
    6
    simple question but those days google is a mess, and chatGPT is broken on demand.

    question: how do I make a loop in a range, like this:

    loop 10 to 20:

    or

    loop in range 10..20:

    This is a very useful thing, but can't find solution, I already saw the documentation.
     
  2. NonicPvP

    NonicPvP New Member

    Joined:
    Mar 23, 2017
    Messages:
    9
    Likes Received:
    1
    hello

    Code (Text):
    1. command numbers:
    2.     trigger:
    3.         loop integers between 10 and 20:
    4.             send "%loop-integer%"
     
  3. Skoll

    Skoll Active Member

    Joined:
    Sep 2, 2020
    Messages:
    65
    Likes Received:
    6
    hello, thank you!
    I was thinking there was not possible, which make me create python binds for skript haha
    Your example is so much simple compared to my solution
    I'm using skutilities to make this thing work
     
    NonicPvP likes this.
Thread Status:
Not open for further replies.

Share This Page

Loading...