Appearance
game.alert
Native global — no require.
available
function · available(): boolean
True when native beep/flash can run.
Returns
| Type | Summary |
|---|---|
boolean | — |
foreground
function · foreground(): boolean
True when the Tibia window is foreground.
Returns
| Type | Summary |
|---|---|
boolean | — |
beep
function · beep(kind: AlertKind): boolean
Play a system beep for the given alert kind.
Parameters
| Name | Type | Summary |
|---|---|---|
kind | AlertKind | — |
Returns
| Type | Summary |
|---|---|
boolean | — |
flash
function · flash(count?: integer): boolean
Count is clamped to the inclusive range 1..20; default 3.
Parameters
| Name | Type | Summary |
|---|---|---|
count | integer | — |
Returns
| Type | Summary |
|---|---|
boolean | — |