I'm looking for a tutorial or help with creating a trigger that makes it possible to write foreksample "-give 1 5" as in "-give "player 1" "5" gold"... I searched but didn't find anything.
I'll appreaciate any help!
Ok
>Open trigger editor
>Two create new trigger
>Three event's player 1 types message contain gold as exact match
>Four Actions add 5 gold two players 1 (red) current gold
I think this will work:shades:
Give Gold
Events
Player - Player 1 (Red) types a chat message containing -give as A substring
Conditions
(Substring((Entered chat string), 1, 6)) Equal to -give
Actions
Player - Add (Integer((Substring((Entered chat string), 9, (Length of (Entered chat string)))))) to (Player((Integer((Substring((Entered chat string), 7, 8)))))) Current gold
hmmm, maybe.. Ty!
How do I change settings that change how much gold your sending when you click on gold to a certain ally in the allies button?