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 Per world commands

Discussion in 'Skript' started by Valerycraft, Jan 24, 2021.

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

    Valerycraft Member

    Joined:
    Jan 24, 2021
    Messages:
    4
    Likes Received:
    0
    Hello I want to create per world commands, Can someone help Me?

     
  2. Best Answer:
    Post #4 by FireRoz, Jan 24, 2021
  3. FireRoz

    FireRoz Active Member

    Joined:
    May 28, 2020
    Messages:
    134
    Likes Received:
    5
    I got you fam
    Code (Text):
    1. command /jellybeans:
    2.   trigger:
    3.     if player's world is not "build":
    4.       send "You cannot eat jelly beans buddy, sorry... Maybe go to the build world !!"
    5.       wait 2 seconds
    6.       send "9ok sending u there now u have no free will"
    7.       wait 1 second
    8.       send "%player's display name%&7: &fWAIT WHAT I DIDNT AGREE TO THAT" to player
    9.       wait 1 second
    10.       teleport player to world "build"
    11.     else:
    12.       give player 3 red wool named "&cJelly bean" with lore "&7Click to eat!"
    13.       give player 6 blue wool named "&9Jelly bean" with lore "&7Click to eat!"
    14.       give player 2 white wool named "&fJelly bean" with lore "&7Click to eat!"
    15.       give player 5 orange wool named "&6Jelly bean" with lore "&7Click to eat!"
    16.       give player 2 yellow wool named "&eJelly bean" with lore "&7Click to eat!"
    17.       give player 3 light green wool named "&aJelly bean" with lore "&7Click to eat!"
    18.       give player 1 purple wool named "&5Jelly bean" with lore "&7Click to eat!"
    19.      
    20.      
     
  4. Valerycraft

    Valerycraft Member

    Joined:
    Jan 24, 2021
    Messages:
    4
    Likes Received:
    0
    Yes, I know how to do this, But I need multiple worlds not 1
     
  5. FireRoz

    FireRoz Active Member

    Joined:
    May 28, 2020
    Messages:
    134
    Likes Received:
    5
    Code (Text):
    1.  
    2.  
    3. command /jellybeans:
    4.   trigger:
    5.     if player's world is not "build" or "i" or "got" or "u" or "fam" or "lmao":
    6.       send "You cannot eat jelly beans buddy, sorry... Maybe go to the build world !!"
    7.       wait 2 seconds
    8.       send "9ok sending u there now u have no free will"
    9.       wait 1 second
    10.       send "%player's display name%&7: &fWAIT WHAT I DIDNT AGREE TO THAT" to player
    11.       wait 1 second
    12.       teleport player to world "build"
    13.     else:
    14.       give player 3 red wool named "&cJelly bean" with lore "&7Click to eat!"
    15.       give player 6 blue wool named "&9Jelly bean" with lore "&7Click to eat!"
    16.       give player 2 white wool named "&fJelly bean" with lore "&7Click to eat!"
    17.       give player 5 orange wool named "&6Jelly bean" with lore "&7Click to eat!"
    18.       give player 2 yellow wool named "&eJelly bean" with lore "&7Click to eat!"
    19.       give player 3 light green wool named "&aJelly bean" with lore "&7Click to eat!"
    20.       give player 1 purple wool named "&5Jelly bean" with lore "&7Click to eat!"
    21.  
    22.        
    23.        
    24.  
     
    • Agree Agree x 1
  6. Valerycraft

    Valerycraft Member

    Joined:
    Jan 24, 2021
    Messages:
    4
    Likes Received:
    0
    Thank You!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...