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:
~Slothiful
---
SOLUTION:
Nothing was wrong with the provided code. The expression I was using to set the sign line was incorrect.
Last edited: