hey this is what i did.
Quote:
Trigger1
Events
Player - Player 1 (Red) types a chat message containing infoz as An exact match
Player - Player 1 (Red) types a chat message containing a as A substring
Player - Player 1 (Red) types a chat message containing b as An exact match
Player - Player 1 (Red) types a chat message containing c as An exact match
Player - Player 1 (Red) types a chat message containing d as An exact match
Player - Player 1 (Red) types a chat message containing e as An exact match
Player - Player 1 (Red) types a chat message containing f as An exact match
Player - Player 1 (Red) types a chat message containing g as An exact match
Conditions
[Nothing]
Actions
If ((Substring((Entered chat string), 1, 5)) Equal to infoz) then do (Game - Display to (All players controlled by a ((Triggering player) controller) player) for 30.00 seconds the text: blablabla) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to a) then do (Player - Set (Triggering player) Current gold to (Integer((Substring((Entered chat string), 1, 5))))) else do (Do nothing)
If ((Substring((Entered chat string), 6, 20)) Equal to b ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Kill (Picked unit))) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to c ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Reset ability cooldowns for (Picked unit))) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to d ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Change ownership of (Picked unit) to (Triggering player) and Change color)) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to e ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Make (Picked unit) Invulnerable)) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to f ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Make (Picked unit) Vulnerable)) else do (Do nothing)
If ((Substring((Entered chat string), 1, 5)) Equal to g ) then do (Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Unit - Create 1 (Unit-type of (Picked unit)) for (Triggering player) at (Position of (Picked unit)) facing 0.00 degrees)) else do (Do nothing)
now the
a is not workable.
why is this so ? without the others sub-trigger i did in there,
a is workable. but after i add in all the other sub-triggers, it dosnt work anymore. any ideas ?
thanks xD