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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The command is not created.

Discussion in 'Requests' started by unmoor, Aug 14, 2019 at 11:32 AM.

  1. u

    unmoor Member

    Joined:
    Wednesday
    Messages:
    5
    Likes Received:
    0
    I was working on a script while watching YouTube.
    But command commands don't even work. I'll attach my script file so please suggest me a solution.
    Thank you.

    1.14.4
     

    Attached Files:

  2. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    189
    Likes Received:
    17
    "on light click:" what the hell on LIGHT click?

    Try "on right click"
     
  3. u

    unmoor Member

    Joined:
    Wednesday
    Messages:
    5
    Likes Received:
    0
    I fixed it already, but it doesn't work.
     
  4. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    189
    Likes Received:
    17
    Code (Text):
    1. if name of player's tool is "&a&l초급 랜덤박스":
    2.     cancel evnet
    Misspells, obviously not working, what's the output from console?

    Code (Text):
    1. give 1 diamond_pickaxe{Enchantments:[{id:"minecraft:efficiency",lvl:4s},{id:"minecraft:unbreaking",lvl:3s},{id:"minecraft:fortune",lvl:3s}]}
    Does this work???
     
  5. u

    unmoor Member

    Joined:
    Wednesday
    Messages:
    5
    Likes Received:
    0
    Doesn't work. I don't think there's any syntax to modify anymore, but maybe the script's version is beta?
     
  6. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    189
    Likes Received:
    17
    Ok tell me what you want to do with Skript I'll make a pseudo and you test
     
  7. u

    unmoor Member

    Joined:
    Wednesday
    Messages:
    5
    Likes Received:
    0
    [QUOTE = "malia, post : 42645, member : 8404"] 좋아, Skript로 무엇을하고 싶은지 말해봐 의사를 만들고 테스트 해 보자 [/ QUOTE]

    I want to make a script that right clicks on an item and then randomizes the item. Like a random box script.
     
  8. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    189
    Likes Received:
    17
    Code (Skript):
    1. on right click:
    2.     if player's held item name is "&cRandom Generator":
    3.         set {random} to random integer between 1 and 10
    4.         switch {random}:
    5.              case 1:
    6.                  # do stuff
    A workout would be something like this, have no idea on other ways
     
  9. u

    unmoor Member

    Joined:
    Wednesday
    Messages:
    5
    Likes Received:
    0
    thank you for letting me know. But it doesn't work.
     
  10. malia

    malia Well-Known Member

    Joined:
    Jul 24, 2019
    Messages:
    189
    Likes Received:
    17
    Console output?
     
Loading...