Entering text and output
In the script, use the Prompt()
function to wait for a new message from the user.
@Event('start')
start() {
> What your name ?
Prompt()
> Hello !
}
Random output
We can send a random message.
@Event('start')
start() {
---
> Hello
> Good Afternoon
---
}
Last updated
Was this helpful?