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

[Trigger] Trading resources to allies via chat commands

Status
Not open for further replies.
Level 8
Joined
Oct 1, 2010
Messages
408
Hello, I am requesting a trigger that would allow players to give their allies gold via a string entered in chat. Also, the trigger needs to go off player's colors, not their player numbers. Example: teal says "-red 1000" in chat. This would give the red player 1000 gold of teal's own gold or all of his gold if he doesn't have 1000 but only if red is his ally.

I really appreciate any help. Thank you!

<3
 
Status
Not open for further replies.
Top