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.

Every Second Event not recognized

Discussion in 'Skript' started by Mapzman, Mar 26, 2017.

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

    Mapzman Member

    Joined:
    Mar 26, 2017
    Messages:
    11
    Likes Received:
    0
    Skript Version: Skript 2.2
    Minecraft Version: 1.11.2

    Error on Reload:
    My console tells me "[09:29:57 ERROR]: can't understand this event: 'every 5 seconds in Hub' (RewardMessage.sk, line 1: every 5 seconds in Hub:#Hub is the world name')"
    [​IMG]

    Script:
    ----------------------------------------------------------------------------------------------------
    [​IMG]
    ----------------------------------------------------------------------------------------------------

    Addons I Have:

    SkRayFall 1.9.3, SharpSK 1.6.1.4, SkQuery 3.21.4

    I have already searched for this problem on the internet and the forums, but I could not find anyone else with this problem. I am also just learning to program, so I'm not sure if I'm missing anything. Please tell me if you need any more information. Thanks!
     
    #1 Mapzman, Mar 26, 2017
    Last edited: Mar 26, 2017
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    every 5 seconds in "Hub":
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Code (Skript):
    1. Every 5 seconds:
    2.     Player's world is "Hub"
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Where's the player in this event? :emoji_wink:
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Oh xD
    Just add a loop all players
    Code (Skript):
    1. Every 5 seconds:
    2.     Loop all players:
    3.         Loop-Player's world is "Hub"
     
Thread Status:
Not open for further replies.

Share This Page

Loading...