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.

Solved "every real minute" not working.

Discussion in 'Skript' started by jonawoning, May 27, 2019.

Thread Status:
Not open for further replies.
  1. jonawoning

    jonawoning Member

    Joined:
    May 24, 2019
    Messages:
    29
    Likes Received:
    2
    I want to add 1 {kd.influence.%player%} every minute to a player but it doesn't work.
    If i remove ''event-world'' event thing, then it says please add an event world etc.

    Error: https://gyazo.com/3af53365db86c4d9e59b872c3a32232f


    Code (Text):
    1. every real minute:
    2.     if "%event-world%" is "KnightMC":
    3.         add 1 to {kd.influence.%player%}


     
  2. Best Answer:
    Post #8 by ShaneBee, May 29, 2019
  3. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    Every minute In "“
    Loop Players
    Add 1 to {whatever::%loop-player%}
     
    • Useful Useful x 1
  4. Amar_Pro_gamer

    Amar_Pro_gamer New Member

    Joined:
    May 31, 2018
    Messages:
    5
    Likes Received:
    0
    Irs every 1 minute
     
  5. jonawoning

    jonawoning Member

    Joined:
    May 24, 2019
    Messages:
    29
    Likes Received:
    2
    Oh... i am so dumb.
    Thanks!
     
  6. Vrganj

    Vrganj Active Member

    Joined:
    Dec 1, 2018
    Messages:
    67
    Likes Received:
    2
    No, it's unnecessary
     
  7. Amar_Pro_gamer

    Amar_Pro_gamer New Member

    Joined:
    May 31, 2018
    Messages:
    5
    Likes Received:
    0
    Whats unnecessary?
     
  8. jonawoning

    jonawoning Member

    Joined:
    May 24, 2019
    Messages:
    29
    Likes Received:
    2
    You have to loop all players, if you don't do that you cant use this event.
     
  9. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    225
    They were referring to @Amar_Pro_gamer 's post regarding `1` in the periodical, that part is unnecessary
    ie:
    this will work:
    Code (Skript):
    1. every minute in "world":
    2.     loop all players:
    3.         set {var::%loop-player%} to blah
    this will also work:
    Code (Skript):
    1. every 1 minute in "world":
    2.     loop all players:
    3.         set {var::%loop-player%} to blah
     
    • Agree Agree x 1
  10. Vrganj

    Vrganj Active Member

    Joined:
    Dec 1, 2018
    Messages:
    67
    Likes Received:
    2
    Also you don't need the all
     
  11. Amar_Pro_gamer

    Amar_Pro_gamer New Member

    Joined:
    May 31, 2018
    Messages:
    5
    Likes Received:
    0
    It just makes it look better have more sense.... like i would honestly prefer it to make more sense, cause then it would be more readable.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...