#(Shrunk) Sign help

1 messages · Page 1 of 1 (latest)

sullen wave
#

Hi! I want to implement the following:

  • Player executes a command
  • A sign pops up and he can write something
  • The script reads the text he wrote and gives an output based on that.
    My question: How can I make the sign thing pop up and is there a way to retrieve the text that the user wrote?
summer sorrelBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

tame rampart
#

!m edit_sign

hoary lindenBOT
tame rampart
#

^ use with no input

#

!e changes sign

hoary lindenBOT
# tame rampart !e changes sign
Group

Player

Event Lines

player changes sign player changes <material>

Triggers

when a player changes a sign.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.location> returns the LocationTag of the sign.
<context.new> returns the new sign text as a ListTag.
<context.old> returns the old sign text as a ListTag.
<context.material> returns the MaterialTag of the sign.

Determine

ListTag to change the lines.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

Cancellable

True - this adds <context.cancelled> and determines cancelled + cancelled:false.

tame rampart
#

^ triggers this

sullen wave
#

Amazing I’ll test it in a bit, ty