Triggering for -income
Moderator: Cheaters
-
- Junior Member
- Posts: 43
- Joined: November 30th, 2008, 2:28 am
Triggering for -income
I created a tree tag map. so basically ent hav gold and lumber base on resources how do i make when someone types -income it show how much gold and lumber he has
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Triggering for -income
Code: Select all
Income Trigger
Events
Player - Player 1 (Red) types a chat message containing -income as An exact match
Player - Player 2 (Blue) types a chat message containing -income as An exact match
Player - Player 3 (Teal) types a chat message containing -income as An exact match
Player - Player 4 (Purple) types a chat message containing -income as An exact match
Player - Player 5 (Yellow) types a chat message containing -income as An exact match
Player - Player 6 (Orange) types a chat message containing -income as An exact match
Player - Player 7 (Green) types a chat message containing -income as An exact match
Player - Player 8 (Pink) types a chat message containing -income as An exact match
Player - Player 9 (Gray) types a chat message containing -income as An exact match
Player - Player 10 (Light Blue) types a chat message containing -income as An exact match
Player - Player 11 (Dark Green) types a chat message containing -income as An exact match
Player - Player 12 (Brown) types a chat message containing -income as An exact match
Conditions
Actions
Game - Display to (Player group((Player((Player number of (Triggering player)))))) the text: ((|cff0000ffGold:|r + (String(((Triggering player) Current gold)))) + ( |cff00f00fLumber:|r + (String(((Triggering player) Current lumber)))))
-
- Junior Member
- Posts: 43
- Joined: November 30th, 2008, 2:28 am
Re: Triggering for -income
i am not talking bout how much lumber he has now i am talking bout how much lumber he receives each interval based on a variable. so how do i make ((String(Triggering Player)Variable))
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Triggering for -income
Well, you have to have the trigger pre-set to designate how much income they get.
just do: The array variable
(String(((Income[Player number of(Triggering Player)])))))
just do: The array variable
(String(((Income[Player number of(Triggering Player)])))))
-
- Junior Member
- Posts: 43
- Joined: November 30th, 2008, 2:28 am