How to make Result of the Wheel Spin start a command

I have a wheel that will spin using !spin, it picks between Trick or Treat or nothing.
Is there a way to have the Result run a command, for instance if the winner is Trick - It will play !Trick command that plays a HFX video