On right click on {var}:

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

    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!

Cold

Member
May 1, 2022
29
0
1
I'm checking when a player is right clicking on a block a variable thats set to "black stained hardened clay"
It doesn't spit any errors, but it doesn't work and all code after it stops working.
 
I believe your issue could be that you had a small typo for the block type you're attempting to check for. The block type I think that you're trying to check for would be "black terracotta". You have to be careful with block types as any small error will cause it to fail to work. However, an FYI; I attempted testing usage of something like:

Code:
on right click on black stained hardened clay:
   send "test"

I did not get any errors with this code, but I would recommend swapping it out with "black terracotta" and proofreading your code carefully to see if there are any other issues present that would result in your code not working.
 
I believe your issue could be that you had a small typo for the block type you're attempting to check for. The block type I think that you're trying to check for would be "black terracotta". You have to be careful with block types as any small error will cause it to fail to work. However, an FYI; I attempted testing usage of something like:

Code:
on right click on black stained hardened clay:
   send "test"

I did not get any errors with this code, but I would recommend swapping it out with "black terracotta" and proofreading your code carefully to see if there are any other issues present that would result in your code not working.
I have tested with using terracotta and did nothing.
I also have an command within skript that sends the name of the block so I can make sure its the right one I'm using, and it outputs black stained hardened clay?