Skip to content

game.alert

Native global — no require.

available

function · available(): boolean

True when native beep/flash can run.

Returns

TypeSummary
boolean

foreground

function · foreground(): boolean

True when the Tibia window is foreground.

Returns

TypeSummary
boolean

beep

function · beep(kind: AlertKind): boolean

Play a system beep for the given alert kind.

Parameters

NameTypeSummary
kindAlertKind

Returns

TypeSummary
boolean

flash

function · flash(count?: integer): boolean

Count is clamped to the inclusive range 1..20; default 3.

Parameters

NameTypeSummary
countinteger

Returns

TypeSummary
boolean

Arcane SDK catalog generated from scripts/sdk