Melee Initialization
Events
Player - Player 1 (Red) types a chat message containing greedisgood as A substring
Player - Player 2 (Blue) types a chat message containing greedisgood as A substring
Player - Player 3 (Teal) types a chat message containing greedisgood as A substring
Player - Player 4 (Purple) types a chat message containing greedisgood as A substring
Player - Player 5 (Yellow) types a chat message containing greedisgood as A substring
Player - Player 6 (Orange) types a chat message containing greedisgood as A substring
Player - Player 7 (Green) types a chat message containing greedisgood as A substring
Player - Player 8 (Pink) types a chat message containing greedisgood as A substring
Player - Player 9 (Gray) types a chat message containing greedisgood as A substring
Player - Player 10 (Light Blue) types a chat message containing greedisgood as A substring
Player - Player 11 (Dark Green) types a chat message containing greedisgood as A substring
Player - Player 12 (Brown) types a chat message containing greedisgood as A substring
Conditions
Actions
Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - (Integer((Substring((Entered chat string), 13, -1)))))
Code:Melee Initialization Events Player - Player 1 (Red) types a chat message containing greedisgood as A substring Player - Player 2 (Blue) types a chat message containing greedisgood as A substring Player - Player 3 (Teal) types a chat message containing greedisgood as A substring Player - Player 4 (Purple) types a chat message containing greedisgood as A substring Player - Player 5 (Yellow) types a chat message containing greedisgood as A substring Player - Player 6 (Orange) types a chat message containing greedisgood as A substring Player - Player 7 (Green) types a chat message containing greedisgood as A substring Player - Player 8 (Pink) types a chat message containing greedisgood as A substring Player - Player 9 (Gray) types a chat message containing greedisgood as A substring Player - Player 10 (Light Blue) types a chat message containing greedisgood as A substring Player - Player 11 (Dark Green) types a chat message containing greedisgood as A substring Player - Player 12 (Brown) types a chat message containing greedisgood as A substring Conditions Actions Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - (Integer((Substring((Entered chat string), 13, -1)))))
You need this?
> Entered Chat String = greedisgood
If you do a comparison like that, it is case-sensitive.