mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
8 lines
345 B
Lua
8 lines
345 B
Lua
local Commands = require 'expcore.commands'
|
|
|
|
Commands.new_command('me','Sends an action message in the chat')
|
|
:add_param('action',false) -- action that is done by the player, just text its meaningless
|
|
:enable_auto_concat()
|
|
:register(function(player,action,raw)
|
|
game.print(string.format('* %s %s *',player.name,action),player.chat_color)
|
|
end) |