Write on a sign, before placing at location

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

LegendeBente

Member
Dec 23, 2018
4
0
0
Hello.

My skript is placing a sign with no context, even though i told it to.
I dont know if it's possible, that's why im asking here and i cant seem to find anything in the docs.

The code doesnt throw any errors, it just places a blank sign at location {_loc::sign}
I cant find anything in the skript docs

And the code is not following an event, it is following a command.

Code:
set {_block} to wall sign
set line 1 of {_block} to "&4&lSOLD"
set line 2 of {_block} to "&c%{_cell::id}%"
set line 3 of {_block} to "&c%{_text}%"
set line 4 of {_block} to "&c%{timer::days::%{_uuid}%}%&4:&c%{timer::timer::%{_uuid}%}%&4:&c%{timer::minute::%{_uuid}%}%"
set block at {_loc::sign} to {_block}
 
Hello.

My skript is placing a sign with no context, even though i told it to.
I dont know if it's possible, that's why im asking here and i cant seem to find anything in the docs.

The code doesnt throw any errors, it just places a blank sign at location {_loc::sign}
I cant find anything in the skript docs

And the code is not following an event, it is following a command.

Code:
set {_block} to wall sign
set line 1 of {_block} to "&4&lSOLD"
set line 2 of {_block} to "&c%{_cell::id}%"
set line 3 of {_block} to "&c%{_text}%"
set line 4 of {_block} to "&c%{timer::days::%{_uuid}%}%&4:&c%{timer::timer::%{_uuid}%}%&4:&c%{timer::minute::%{_uuid}%}%"
set block at {_loc::sign} to {_block}
Try to place the block first, then set the lines of that block (`set line 1 of block at {_loc::sign} to "..."`)
 
Status
Not open for further replies.