• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Clear command

Status
Not open for further replies.
Level 11
Joined
Sep 11, 2013
Messages
324
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!
 
Status
Not open for further replies.
Top