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

Check player name?

Status
Not open for further replies.
Level 4
Joined
Jan 2, 2021
Messages
20
Hello, i wanted to add a chat command for the admin (me in this case :) ) in my map.
So, if i play the map with others, only me can type the command and smth will happen.
I tried this but it didn't work:

  • AdminObserver
    • Events
      • Player - Player 1 (Red) types a chat message containing -observer as An exact match
    • Conditions
      • (Name of (Triggering player)) Equal to Zankh
    • Actions
      • Unit - Create 1 Zankh for Player 1 (Red) at (Center of Reds Area <gen>) facing Default building facing degrees
I tested it online, but with no other players.
What have i done wrong?
Thank you :)
 
Last edited:
Status
Not open for further replies.
Top