> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/wifi-pineapple-pager/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/wifi-pineapple-pager/alert.md).

# ALERT

`ALERT` Raise an alert in the UI

### When to use it <a href="#when-to-use-it" id="when-to-use-it"></a>

`ALERT` displays a full-screen alert message and plays the alert ringtone if the user has one selected. It can be called from `alert` payloads or normal user payloads - whenever an event requires the users attention, use `ALERT`!

#### Syntax <a href="#syntax" id="syntax"></a>

```none
ALERT [message]
```

**message&#x20;*****required***

Arbitrary message presented to the user. Messages should be kept short enough to fit on the display.

<figure><img src="/files/K599eBnvLxSDUeLZLpmN" alt="An alert"><figcaption><p>An alert</p></figcaption></figure>

### Results <a href="#results" id="results"></a>

`ALERT` displays the requested test, and has no returned data.

### Examples <a href="#examples" id="examples"></a>

```bash
ALERT "Notice me!"
__demo=$(TEXT_PICKER "No default text" "") || exit 0
```

{% hint style="info" %}
Remember to enclose the prompt text in quotes if it contains spaces!
{% endhint %}
