Solved PerWorldHunger Skript

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Adrian Vrancianu

New Member
Sep 5, 2020
9
0
1
47
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:
 
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:
Code:
on hunger meter change:
    if player is in "world":
        set {hunger_world::%player%} to the player's food level #I dont know if this is going to work
    else if player is in "world2"
        set {hunger_world2::%player%} to the player's food level #I dont know if this is going to
on player world change::
    if world is "world":
        set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
    else if world is "world2":
        set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
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[
 
Code:
on hunger meter change:
    if player is in "world":
        set {hunger_world::%player%} to the player's food level #I dont know if this is going to work
    else if player is in "world2"
        set {hunger_world2::%player%} to the player's food level #I dont know if this is going to
on player world change::
    if world is "world":
        set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
    else if world is "world2":
        set the player's food level to ({hunger_world::%player%} parsed as integer)#IDK if this will work
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[
Thank you! I will try this tomorrow because it's late today.
 
Status
Not open for further replies.