Hello! I’ve been trying to figure out the default chat commands so i could implement them on my custom chat.
Are there any lists?
Hello! I’ve been trying to figure out the default chat commands so i could implement them on my custom chat.
Are there any lists?
You can type /? in the roblox chat box to view the default commands.
Yes but that doesn’t show them all, things like /join didn’t get shown for example nor did any of the emote commands.
The list of emotes can be found in the default ‘Animate’ script.
I want every single command (including their variations like /mute and /ignore doing the same thing) tho not just the emote commands.
this.ChatMatchingRegex =
{
[function(chatBarText) return string.find(chatBarText, nocase("^/w ") .. "(%w+_?%w+)") end] = "Whisper";
[function(chatBarText) return string.find(chatBarText, nocase("^/whisper ") .. "(%w+_?%w+)") end] = "Whisper";
[function(chatBarText) return string.find(chatBarText, "^%%") end] = "Team";
[function(chatBarText) return string.find(chatBarText, "^%(TEAM%)") end] = "Team";
[function(chatBarText) return string.find(chatBarText, nocase("^/t")) end] = "Team";
[function(chatBarText) return string.find(chatBarText, nocase("^/team")) end] = "Team";
[function(chatBarText) return string.find(chatBarText, nocase("^/a")) end] = "All";
[function(chatBarText) return string.find(chatBarText, nocase("^/all")) end] = "All";
[function(chatBarText) return string.find(chatBarText, nocase("^/s")) end] = "All";
[function(chatBarText) return string.find(chatBarText, nocase("^/say")) end] = "All";
[function(chatBarText) return string.find(chatBarText, nocase("^/e")) end] = "Emote";
[function(chatBarText) return string.find(chatBarText, nocase("^/emote")) end] = "Emote";
[function(chatBarText) return string.find(chatBarText, "^/%?") end] = "Help";
[function(chatBarText) return string.find(chatBarText, nocase("^/help")) end] = "Help";
[function(chatBarText) return string.find(chatBarText, nocase("^/block ") .. "(%w+_?%w+)") end] = "Block";
[function(chatBarText) return string.find(chatBarText, nocase("^/unblock ") .. "(%w+_?%w+)") end] = "Unblock";
[function(chatBarText) return string.find(chatBarText, nocase("^/mute ") .. "(%w+_?%w+)") end] = "Mute";
[function(chatBarText) return string.find(chatBarText, nocase("^/unmute ") .. "(%w+_?%w+)") end] = "Unmute";
}