Greetings,
You could also do this using actions or radio channels, instead of chat messages.
For instance:
Player types 0-0-1 (for Radio Alpha, defined as "Call for Medic!")
executes command:
player sideChat "Aagh! I've been hit! MEDIC!"
;code to send medic
Similarly, Radio channel Bravo - "Call for ammo!"
player sideChat "I need some ammo here!"
;code to get a unit to drop a mag
It doesn't exactly do what you want, but here's a new idea, which might fit what you're looking for:
Use a simple dialog: A textbox and an OK button:
Player types stuff into the textbox and hits OK.
A script checks for words like "Medic", "ammo" etc. in the textbox output
Text is sent to sideChat channel
Necessary actions are executed by the script.
The dialog itself could be done in about 5 mins with RazorWings' Dialog Editor (Editors Depot-> pending).
The script would be a little harder to write...
-Supreme Commander PsyWarrior
-Psychic Productions Studios