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 Right click help

Discussion in 'Skript' started by ItzarReal, Dec 11, 2020.

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

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    So, basically, I have 2 servers. One on my localhost and one on minehut. I use this skript on my localhost:
    Code (Text):
    1.  
    2. on right click while holding stick named "&6Magic wand":
    3.     make player execute command "/spell fire"
    4.  
    and it works.
    I try the same skript on minehut, and it doesn't. Can someone tell me why???
    Edit: my error message says: cant understand this condition/effect: "on right click while holding stick named "&6magic wand"" line 44, "on right click while holding stick named "&6magic wand""
    another edit: i tried
    Code (Text):
    1. on right click with stick named "magic wand"
     
  2. Best Answer:
    Post #2 by Dogloverblue17, Dec 11, 2020
  3. Dogloverblue17

    Joined:
    Sep 2, 2020
    Messages:
    28
    Likes Received:
    1
    Bro, i think ik know your problem, assuming you copy pasted your code, in this

    Code (Text):
    1.  
    2. on right click with stick named "magic wand"
    You Forgot a colon at the end, not sure if thats the problem, but thats the only thing that i think could be the problem, aside from an indentation error.
     
  4. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    Code (Text):
    1. on right click:
    2.   if player's tool is stick:
    3.     if uncolored name of player's tool is "Magic Wand":
    4.       # do this
    5.  
    simple
     
Thread Status:
Not open for further replies.

Share This Page

Loading...