
Command separation in terminal?
I am making something like console on my sub, just cause i can, and i've got a "msg" command, it's a radio for my medic who has husk genes, so he can communicate in-game, instead of DMing me in steam. And right now the msg command works with regex and WiFi component, so it just takes a command, checks if it's msg one and sends exact message, so i've thought if i can make it send only the text of the message itself, not the command that user sent.
edit:
For comprehension it works like
terminal: message + msg anywhere >>> chat: same what was inputted into terminal
example: "im gay msg"(terminal) >>> "im gay msg"(chat)