blob: 73fb60f7374a6537458a4a31ed040128ba252a01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
function HandleMeCommand( Split, Player )
table.remove( Split, 1 )
local Message = ""
for i, Text in ipairs( Split ) do
Message = Message .. " " .. Text
end
if Split[1] == nil then
SendMessage( Player, "Usage: /me <action>" )
return true
end
if Split[1] ~= nil then
cRoot:Get():GetServer():BroadcastChat( Player:GetName() .. "" .. Message )
return true
end
end
|