Solved Right click help

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

ItzarReal

Member
Oct 21, 2020
19
0
1
23
So, basically, I have 2 servers. One on my localhost and one on minehut. I use this skript on my localhost:
Code:
on right click while holding stick named "&6Magic wand":
    make player execute command "/spell fire"
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:
on right click with stick named "magic wand"
 
Bro, i think ik know your problem, assuming you copy pasted your code, in this

Code:
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.
 
Code:
on right click:
  if player's tool is stick:
    if uncolored name of player's tool is "Magic Wand":
      # do this

simple
 
Status
Not open for further replies.