Event - Unit finishes training a unit
Condition - Trained unit equal to XXX
Action - Remove trained/training unit from the game and do something.
Now I could figure out that the trained unit resembled Unit - Trained unit, but I was too stupid to realize the training unit was the Triggering unit =)
I mean this only in the mildest way, but you might want to change your sig. This isn't c00l war3z c3ntral here, and I suspect the wc3c staff don't want to be even seeming to condone non-profit piracy, let alone blatent for-profit piracy.