Ok this is what i have so far:
-
Events
-
Player - Player 1 (Red) types a chat message containing test as A substring
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in (Units of type test13)) Equal to 0
-
-
Then - Actions
-
Unit - Create 1 test13 for Player 5 (Black) at (Center of test12 <gen>) facing Default building facing degrees
-
-
Else - Actions
-
-