Solved Problems with signs

  • 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.
First, format your code.
Second, what errors come up. You should explain what goes wrong instead of just posting your code (even worse, not formatting it)

EDIT: Apologies if I sound harsh ;^;
 
Last edited:
Code:
if player is "AndreasLK":

Player = player type

"AndreasLK" = String type

player type is not string type

Code:
if "%player%" is "AndreasLK":

"%player%" = String type

"AndreasLK" = String type

Works

Code:
if player is "AndreasLK" parsed as a player:

Player = player type

"AndreasLK" parsed as a player = player type

Works
 
command /oaklog:
trigger:
if player is "AndreasLK":
set event-block to {Oak.Log.Sign}
set line 1 of event-block to "test"
message "%{Oak.Log.Sign}%
You cannot use "event-block" in an command. You could Loop the Blocks around the Player and If it is an sign, Set the First Line of the loop-block to "Test" Like this:
Code:
command /oaklog:
        trigger:
                loop 5 blocks around player:
                        If loop-block is sign:
                                Set Line 1 of loop-block to "Test"
                                send "Test"

(Sorry, i did this on mobile ↑)
Also you cannot Set an Block to an coordinate:
set event-block to {Oak.Log.Sign}
 
First, format your code.
Second, what errors come up. You should explain what goes wrong instead of just posting your code (even worse, not formatting it)

EDIT: Apologies if I sound harsh ;^;

Hello.
Sorry about that. I'm new here.
I have a new problem. I want to use some of the lines of an already placed sign, do you know how to do that?
[doublepost=1584080872,1584080646][/doublepost]
Hello.
Sorry about that. I'm new here.
I have a new problem. I want to use some of the lines of an already placed sign, do you know how to do that?
Why is that whenever I put a problem in here I solve it immediately. It's magic. Thanks
 
Status
Not open for further replies.