Skip to main content
api.ui.notify(spec) pops a toast in the top-right corner. Pass a table; only title is required. Returns a NotifyHandle you can update or dismiss. Any notifications you push are dismissed automatically when your script unloads.

Creation

Spec type: NotifySpec.

Dismiss

Remove the notification now (fades out).

Update

Patch fields live. Ignored on timer bars (those animate themselves).

GetId

The internal notification id.

NotifyHandle

Handle type: NotifyHandle.

Examples


Pill toasts

api.ui.toast(spec) pushes a compact one-line pill into the same feed the hit logs use. Pass a table, or just a string as shorthand for { text = ... }. Returns a handle with Dismiss() and GetId(). Your toasts are dismissed automatically when your script unloads.