Command System

Status
Not open for further replies.
Level 24
Joined
Aug 1, 2013
Messages
4,658
Just a small question but I want a command system in my new map but dont know how to call it without sendin a message everytime.

The principle is very simple:

A player sends a message that starts with "/"
Then I do my action to whatever that player said after that.
Then I stop the message so it will not be shown.

That last one is as far as I know impossible.
Does anyone know how to make a clean command system?
 
you cant stop people's text with regular means. You can do something like one resource does, which is essentially custom chat, which works in such a way that you replace font of the chat with some invalid one, and you print stuff yourself instead, when you want to show it
 
Status
Not open for further replies.
Back
Top