• 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!

-clear command

Status
Not open for further replies.
Level 5
Joined
Jun 24, 2009
Messages
118
I have command -info and text who will not expire last 300seconds(5minutes). How can I create -clear command (It will remove all that text) ?
 
Dont know tryed this few times worked perfectly
  • 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
  • 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)))))

+REP if helped ;)
 

Attachments

Dont know tryed this few times worked perfectly
  • 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
  • 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)))))

+REP if helped ;)

what is that???
why using integers???

btw
if you want to clear massages for player that typed the massage use Player group(Triggering Player)
if you want to use it for all player use player group(All players)
 
Well,Alien, I know that functions ''if then else'' but I don't know some practice things.. :) btw: solved!
 
Status
Not open for further replies.
Back
Top