Resource icon

Sign prompt 1.0

Cloudshadow

Member
Feb 25, 2021
8
1
3
Cloudshadow submitted a new resource:

Sign prompt - give users a prompt for input with a configurable message

This script provides a prompt for input to the player using a sign.
this input can then be read and used in other scripts.
only 1 sign prompt can run at the same time and by default times out after 60 seconds

use - ~run sign_prompt def:<[message]> save:sign_prompt_output
to run the task
afterwards the signs contents can be read with <entry[sign_prompt_output].created_queue.determination.get[1]>
if a wrong message is given the output = error
when the prompt has timed out output = timeout...

Read more about this resource...