Solved Incorrect Event-Block Coordinates

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

Status
Not open for further replies.

Slothiful

Member
Feb 2, 2017
1
0
1
d13f33cfeb.png

Skript Version:
2.3
Skript Author: Updated fork, author unknown
Minecraft Version: 1.11.2 Spigot
---
Full Code:
code_language.skript:
command /signon:
  trigger:
    set {Sign.%player%} to true

command /signoff:
  trigger:
    set {Sign.%player%} to false

on right click on sign:
  if {Sign.%player%} is not true:
    stop
  else:
    set {Sign.Location} to location of event-block

command /sign:
  trigger:
    send "%{Sign.Location}%" to player

Errors on Reload:
None.

Console Errors:
None.


Addons using (including versions):
None.

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I don't know any solutions.
---
What's wrong?
When I set up a test sign, and type /sign, I receive incorrect coordinates. I need the coordinates so I can set a line of a sign in another Skript, but it won't recognize that a sign is at the provided coordinates.
Screenshot:
4937517bfe.png


~Slothiful
---
SOLUTION:
Nothing was wrong with the provided code. The expression I was using to set the sign line was incorrect. :emoji_stuck_out_tongue:
 
Last edited:
Status
Not open for further replies.