> For the complete documentation index, see [llms.txt](https://docs.newbot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.newbot.io/conversescript-syntax/entering-text-and-output.md).

# Entering text and output

In the script, use the `Prompt()` function to wait for a new message from the user.

```typescript
@Event('start') 
start() {
    > What your name ?
    Prompt()
    > Hello !
}
```

### Random output

We can send a random message.

```typescript
@Event('start')
start() {
    ---
    > Hello
    > Good Afternoon
    ---
}
```
