Lua · Variables · Features

notify

Lines in the built-in notification feed.

FunctionWhat it does
notify.push(text[, damage][, hp])Adds a line to the notification feed, in the user's chosen style.

#notify.push

notify.push(text[, damage][, hp])

Adds a line to the notification feed, in the user's chosen style.

Arguments

textstring
Up to 64 characters.
damageintegeroptional
Damage number to show. Default 0 (none).
hpintegeroptional
Health left to show. Default -1 (none).
Example
notify.push("Bomb planted on " .. e.site)