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();
}
Yes, that should be possible depending on which wheel/stream bot system you’re using. Usually the easiest way is to connect the wheel result to an “action” or “trigger” event.
For example:
- Result = “Trick” → automatically run
!trick - Result = “Treat” → run another command
- Result = “Nothing” → no action
Some systems let you:
- assign commands directly to wheel outcomes
- use webhook/event triggers
- connect wheel results to Streamer.bot, Mix It Up, Lumia Stream, or SAMMI
If your wheel tool supports “result actions” or “post-spin actions,” that’s probably where you’d configure it.
The setup would basically be:
- Viewer types
!spin - Wheel lands on “Trick”
- Bot detects result
- Automatically triggers your HFX/video command
I was reading similar stream automation discussions on https://net-mirror.pk/ where people were also talking about wheel events, auto commands, and interactive stream effects.
