First, start off with creating a variable:
Variable Name(i picked ReviveGroup)
Make it Unit Group With Array 1
The images should look like this in triggers

Just continue the Trigger till you get to the amount of units in your map
Then, make something like this for the -revive command

And that should be it! I use it myself and haven't had any troubles with it, just post your problems here and i will try and fix it, Thanks ^ ^
EDIT!: one second, the images arent coming up
EDIT2: Here is a a Map of the tested trigger you can see for yourself