QUOTE(Shadow181)
make the units start of as computer and then use AI, then give the units to player.
e.g.
PLAYERS: human player
CONDITIONS: always
ACTIONS: Run AI script (w/e 1 it is)
give units to player(computer -> human player)
The AI script would do nothing for a human player, you'd have to give the trigger to the computer who owns the units.
Also, when you give the units to the human player, they will stop mining.
QUOTE(Shadow181)
I haven't actually tested this yet, but it should theoretically work
Not tested == worthless.