mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00

-Introduce a printf helper command which can print the sending command's name for you, and treats the message as a format string if additional params follow
9 lines
247 B
Lua
9 lines
247 B
Lua
required_rank = GM_RANK_DEBUG
|
|
sender = "[invis] "
|
|
|
|
function onCommand(args, player)
|
|
local usage = "\nThis command makes the user invisible to all other actors."
|
|
|
|
player:toggle_invisibility()
|
|
printf(player, "Invisibility toggled.")
|
|
end
|