LiminaliaLiminalia

@notify

Show a notification (stacked at the top right; identical text is merged into one, and it's held back during full-screen effects). Doesn't wait. With when=scene-break, it waits for the next scene break

when

Parameters

textRequired
Text
Notification text
kind
Text (such as info / success / warning / error)
Default: info
Kind (for different looks: info, success, warning, error, or a name defined in the project's CSS)
title
Text
Heading
time
Time (300ms, 1.5s)
Default: 3s
How long it stays
delay
Time (300ms, 1.5s)
Default: 0ms
Time before it appears
se
Asset (sound)
Sound effect to play when it appears
max
Integer
Default: 3
Maximum number stacked at once (beyond that, the oldest ones are pushed out)
key
Text
Key that merges duplicates (the text if omitted; a notification with the same key is shown again with its time extended)
when
now / scene-break
Default: now
When to show it (now: right away. scene-break: before the next text or choice after a scene break, which is @scene-change, @bg with a different image, @mask, or moving to another file with @jump or a choice. Saving and loading while it waits doesn't lose it)

Guides that use this command