Now, i remember something about this awhile back on the old WC3C, somone wanted to find out how to hide chat messages so that nobody could see them. He worked something out using player names and whatnot, but i don't remember how. If anyone can tell me that'd be great.
Also, is it possible to make it so that this trigger:
Trigger:
Communication

Events


Player - Player 1 (Red) types a chat message containing - as A substring


Player - Player 2 (Blue) types a chat message containing - as A substring


Player - Player 3 (Teal) types a chat message containing - as A substring


Player - Player 4 (Purple) types a chat message containing - as A substring


Player - Player 5 (Yellow) types a chat message containing - as A substring


Player - Player 6 (Orange) types a chat message containing - as A substring


Player - Player 7 (Green) types a chat message containing - as A substring


Player - Player 8 (Pink) types a chat message containing - as A substring


Player - Player 9 (Gray) types a chat message containing - as A substring


Player - Player 10 (Light Blue) types a chat message containing - as A substring


Player - Player 11 (Dark Green) types a chat message containing - as A substring


Player - Player 12 (Brown) types a chat message containing - as A substring

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




HeroTalkOn[(Player number of (Triggering player))] Equal to True



Then - Actions




Floating Text - Create floating text that reads (Substring((Entered chat string), 2, (Length of (Entered chat string)))) above CurrentTalkingUnit[(Player number of (Triggering player))] with Z offset 0.00, using font size 10.00, color (Red[(Player number of (Triggering player))]%, Green[(Player number of (Triggering player))]%, Blue[(Player number of (Triggering player))]%), and 0.00% transparency




Floating Text - Change the lifespan of (Last created floating text) to (((Real((Length of (Entered chat string)))) / 20.00) + 2.00) seconds




Floating Text - Change the fading age of (Last created floating text) to (((Real((Length of (Entered chat string)))) / 10.00) - 1.00) seconds




Floating Text - Change (Last created floating text): Disable permanence



Else - Actions




Set TempGroup = (Units currently selected by (Triggering player))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






Floating Text - Create floating text that reads (Substring((Entered chat string), 2, (Length of (Entered chat string)))) above (Picked unit) with Z offset 0.00, using font size 10.00, color (Red[(Player number of (Triggering player))]%, Green[(Player number of (Triggering player))]%, Blue[(Player number of (Triggering player))]%), and 0.00% transparency






Floating Text - Change the lifespan of (Last created floating text) to (((Real((Length of (Entered chat string)))) / 20.00) + 2.00) seconds






Floating Text - Change the fading age of (Last created floating text) to (((Real((Length of (Entered chat string)))) / 10.00) - 1.00) seconds






Floating Text - Change (Last created floating text): Disable permanence




Custom script: call DestroyGroup (udg_TempGroup)
Will fire off when a player types ANYTHING instead of a specific character.