Solved Help put actual date on a sign

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

Kuzifes

Member
Apr 25, 2017
16
0
0
26
Code:
on rightclick on sign:
    line 1 of the clicked block is "[Region]":
                set {datetmp} to now
                set line 2 to {datetmp}
Sorry for another help thread :emoji_grinning: asking for such questions
 
Code:
on rightclick on sign:
    line 1 of the clicked block is "[Region]":
                set {datetmp} to now
                set line 2 to "{datetmp}"
I think you forgot the quotations on {datetmp}
 
Code:
on rightclick on sign:
    line 1 of the clicked block is "[Region]":
                set {datetmp} to now
                set line 2 to "{datetmp}"
I think you forgot the quotations on {datetmp}
Actually works but puts just {datetmp} to the sign :emoji_grinning:
 
Im not entirely sure why you guy over complicate things
code_language.skript:
on rightclick on sign:
    line 1 of the clicked block is "[Region]":
        set line 2 to "%now%"
no need to create a variable for something like that
 
Actually works but puts just {datetmp} to the sign :emoji_grinning:


Its not working because you have it as "{datetmp}" and not "%{datetmp}%"

Note: you must always put your variables between percentage sugns for them to get displayed correctly in texts.
 
Im not entirely sure why you guy over complicate things
code_language.skript:
on rightclick on sign:
    line 1 of the clicked block is "[Region]":
        set line 2 to "%now%"
no need to create a variable for something like that
Actually fixes everything :emoji_grinning: Thank you all!
 
Status
Not open for further replies.