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
Update
timer bars (those animate themselves).
GetId
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.