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

Yes, but you will need a bit of code since we don’t have yet a variation for spinwheel_item variable , here is a example of the code

async function() {
  const wonItem = "{{spinwheel_item}}"
  if(wonItem === "option 1") {// this is case sensitive place it exactly as you set it up in your wheel 
    overlaySendHfx({ content: "ghost-talk", playAudio: true, volume: 1 }); // replace ghost-talk with your hfx

  } if(wonItem === "option 2"){
    overlaySendHfx({ content: "ghost-talk", playAudio: true, volume: 1 }); // replace ghost-talk with your hfx
  }
  // .
  // . 
  // . 
  // you can add here as many if's as you like or have on your spin wheel 
  // Make sure you call done() to avoid memory leaks
  done();
}