Solved Wie ändere ich ein bestimmtes Schild mit einem Command

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

Flynn_LG

Member
Nov 4, 2019
38
1
8
26
Hallo alle zusammen!

Mein Problem ist es, dass ich ein Schild (an einer Location [x+ y +z]) mit einen Command ändern möchte!

Das ganze sollte so funktionieren:

Code:
command /setsign:
    trigger:
        set {_setsign} to location at (117, 219, -989) in world "world"
        set block at location {_setsign} to sign post
Und dann darunter, meine Frage, wie ist das mit dem Text
Code:
set line 4 of {_setsign} to "Custom Message"
mache..

Ich würde mich über eine schnelle Antwort freuen :emoji_grin:
 
Hallo alle zusammen!

Mein Problem ist es, dass ich ein Schild (an einer Location [x+ y +z]) mit einen Command ändern möchte!

Das ganze sollte so funktionieren:

Code:
command /setsign:
    trigger:
        set {_setsign} to location at (117, 219, -989) in world "world"
        set block at location {_setsign} to sign post
Und dann darunter, meine Frage, wie ist das mit dem Text
Code:
set line 4 of {_setsign} to "Custom Message"
mache..

Ich würde mich über eine schnelle Antwort freuen :emoji_grin:
try
Code:
on rightclick on a sign:
    if player is in "YOUR WORLD":
        line 2 of event-block is "YOUR TEXT":
            event-player command "/Kit Starter"
 
Hallo alle zusammen!

Mein Problem ist es, dass ich ein Schild (an einer Location [x+ y +z]) mit einen Command ändern möchte!

Das ganze sollte so funktionieren:

Code:
command /setsign:
    trigger:
        set {_setsign} to location at (117, 219, -989) in world "world"
        set block at location {_setsign} to sign post
Und dann darunter, meine Frage, wie ist das mit dem Text
Code:
set line 4 of {_setsign} to "Custom Message"
mache..

Ich würde mich über eine schnelle Antwort freuen :emoji_grin:
I do not know German well and I am having issues with what your asking, but I hope this is what you are asking for?
"Ich spreche nicht gut Deutsch und habe Probleme damit, was Sie fragen, aber ich hoffe, das ist, wonach Sie fragen?" - Google Translate
code_language.skript:
set line 4 of block at {_setsign} to "Custom Message"
 
Oh sorry :c

My Question is: When i write /signreload set the Command in the sign at 117, 219, -989 in line 1the text "Custom Message".
 
Oh sorry :c

My Question is: When i write /signreload set the Command in the sign at 117, 219, -989 in line 1the text "Custom Message".
Like this?
code_language.skript:
command /signreload:
    trigger:
        set {_setsign} to the location at 117, 219, -989 of the world "world"
        set line 1 of block at {_setsign} to "Custom Message"
 
Like this?
code_language.skript:
command /signreload:
    trigger:
        set {_setsign} to the location at 117, 219, -989 of the world "world"
        set line 1 of block at {_setsign} to "Custom Message"

Yes.. But it not work?! I place a sign at this coordinates but no Text is in there..
[doublepost=1572893867,1572893752][/doublepost]
like?
Code:
command /signRL:
    trigger:
        if player has the permission "sign.set":
            set line 1 of target-block to "YOUR TEXT"
            stop

No look at AsuDev. This is right, but isn't work!
 
Yes.. But it not work?! I place a sign at this coordinates but no Text is in there..
[doublepost=1572893867,1572893752][/doublepost]

No look at AsuDev. This is right, but isn't work!
Code:
command /signRL:
    trigger:
        if player has the permission "sign.set":
            set line 1 of block at {sign} to "Custom Message"
command /setsign:
    trigger:
        set {sign} to location of target block
 
Status
Not open for further replies.