Skip to main content

toast.show

Overview

  • Display a transient system-message toast on the local client. Purely presentational: no save, no broadcast, no gameplay effect. Default lifetime is 5 seconds; pass --immediate=true to bypass the queue and display right away.

Metadata

FieldValue
DisplayShow Toast Message
Categorytoast
AccessPublic
ScopeB1Standalone
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
messagestringyes—Message text shown in the toast. Any plain string.
lifetimefloatno5.0Seconds the toast stays visible. Default: 5.0.
immediateboolnofalseIf true, skip the queue and show immediately. Default: false.

Usage

await inzoi.cli.execute('toast.show', {
message: '',
lifetime: 5.0, // optional
immediate: false, // optional
});