Hm, that’s going to take some scripting of your own.
Here is what we will need for this,
First of all, we know that /e hides default, we can use this knowledge, to add in /me as well.
Here is the model for the entire chatscript, I configured to work with this:
https://www.roblox.com/catalog/03475857252/redirect
If you would like to know how this works I’ll explain bellow.
So in the ChatServiceRunner at line 330 you’ll see a RegisterProcessCommandsFunction which is where I put in my commands. All I did was add a if statement for the /me command.
Here is an example:
ChatService:RegisterProcessCommandsFunction("default_commands", function(fromSpeaker, message, channel)
if (string.sub(message, 1, 6):lower() == "/join ") then
DoJoinCommand(fromSpeaker, string.sub(message, 7), channel)
return true
elseif (string.sub(message, 1, 3):lower() == "/j ") then
DoJoinCommand(fromSpeaker, string.sub(message, 4), channel)
return true
elseif (string.sub(message, 1, 7):lower() == "/leave ") then
DoLeaveCommand(fromSpeaker, string.sub(message, 8), channel)
return true
elseif (string.sub(message, 1, 3):lower() == "/l ") then
DoLeaveCommand(fromSpeaker, string.sub(message, 4), channel)
return true
elseif (string.sub(message, 1, 4):lower() == "/me ") then
return true
elseif (string.sub(message, 1, 3) == "/e " or string.sub(message, 1, 7) == "/emote ") then
if not FFlagPlayEmoteChatCommandEnabled then
-- Just don't show these in the chatlog. The animation script listens on these.
return true
end
end
return false
end)
If you would like to add an extra command, just make another elseif statement.
(Sorry for taking so long to reply, I wasn’t sure how to do it at first either.)