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 PerWorldHunger Skript

Discussion in 'Skript' started by Adrian Vrancianu, Sep 7, 2020.

Thread Status:
Not open for further replies.
  1. Adrian Vrancianu

    Adrian Vrancianu New Member

    Joined:
    Sep 5, 2020
    Messages:
    9
    Likes Received:
    0
    Is there a way to do a perworldhunger skript? ((HAVE DIFFERENT HUNGER IN EVERY WORLD))
    Please, I want very much, I don't find a skript like what I say :emoji_frowning:
     
  2. Best Answer:
    Post #2 by Mich, Sep 7, 2020
  3. Mich

    Mich Member

    Joined:
    Jul 15, 2020
    Messages:
    35
    Likes Received:
    1
    Code (Text):
    1. on hunger meter change:
    2.     if player is in "world":
    3.         set {hunger_world::%player%} to the player's food level #I dont know if this is going to work
    4.     else if player is in "world2"
    5.         set {hunger_world2::%player%} to the player's food level #I dont know if this is going to
    6. on player world change::
    7.     if world is "world":
    8.         set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
    9.     else if world is "world2":
    10.         set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
    11.  
    links
    https://skripthub.net/docs/?id=1032
    https://skripthub.net/docs/?id=952
    https://skripthub.net/docs/?id=1156
    https://skripthub.net/docs/?id=1079[
     
  4. Adrian Vrancianu

    Adrian Vrancianu New Member

    Joined:
    Sep 5, 2020
    Messages:
    9
    Likes Received:
    0
    Thank you! I will try this tomorrow because it's late today.
     
  5. Mich

    Mich Member

    Joined:
    Jul 15, 2020
    Messages:
    35
    Likes Received:
    1
    Ok I hope you can make it work. It is a very good idea.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...