• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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