mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-01 22:03:02 +00:00
12 lines
No EOL
431 B
Lua
12 lines
No EOL
431 B
Lua
local Notify = worldeditadditions_core.notify
|
|
return worldeditadditions.normalize_test("notify", {
|
|
params = "<message>",
|
|
description = "Sends message to player in all main notification formats (error, warn, ok, info).",
|
|
func = function(name, params_table)
|
|
local message = table.concat(params_table, " ")
|
|
Notify.error(name, message)
|
|
Notify.warn(name, message)
|
|
Notify.ok(name, message)
|
|
Notify.info(name, message)
|
|
end
|
|
}) |