[General] Clear command

Level 9
Joined
Sep 11, 2013
Messages
230
Hi guys!

I want to make a clear chat command like in dota 1 (for each player) and i don't know how..

I only make this, but the clear delete for all player not only for the player who type..

  • Clear Command
    • Events
      • Player - Player 1 (Red) types a chat message containing -clear as An exact match
      • Player - Player 2 (Blue) types a chat message containing -clear as An exact match
      • Player - Player 3 (Teal) types a chat message containing -clear as An exact match
      • Player - Player 4 (Purple) types a chat message containing -clear as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -clear as An exact match
      • Player - Player 6 (Orange) types a chat message containing -clear as An exact match
      • Player - Player 7 (Green) types a chat message containing -clear as An exact match
      • Player - Player 8 (Pink) types a chat message containing -clear as An exact match
      • Player - Player 9 (Gray) types a chat message containing -clear as An exact match
      • Player - Player 10 (Light Blue) types a chat message containing -clear as An exact match
      • Player - Player 11 (Dark Green) types a chat message containing -clear as An exact match
      • Player - Player 12 (Brown) types a chat message containing -clear as An exact match
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Cinematic - Clear the screen of text messages for (Player group((Player((Integer A)))))
How can i do it like in dota 1? Can you give me a map with an example, please?

The help will be appreciated!
 
Top