Roadie

!duel command

Automation · 3 min read ·

A duel between two chatters — one wins. Learn its setup, options and use in Roadie Automation.

!duel (duel) — A duel between two chatters — one wins. A duel can be for glory or for a currency wager.

This is a Roadie starter command. It is provided as an editable default and starts switched off.

Default setup

  • Word: !duel
  • Enabled: Off
  • Audience: everyone
  • Cooldown: 10 seconds for the channel; 60 seconds per viewer.
  • Default response: {duel.winner} defeats {duel.loser} in a duel for glory!

Options and replies

These are options on the command’s Duel step. With no Wager currency picked, a duel is for glory and nothing is taken.

  • Wager (wagerCurrency): starts empty.
  • Smallest wager (wagerMin): starts at 10.
  • Largest wager (0 for no limit) (wagerMax): starts at 0.
  • Seconds to answer (answerSeconds): starts at 60.
  • With no one named, duel the streamer (duelStreamer): starts at false.
  • Word to accept (acceptWord): starts at accept.
  • Word to turn it down (denyWord): starts at deny.
  • Word to call it off (cancelWord): starts at cancel.
  • The challenge (challengeLine): starts at @{duel.target} {duel.starter} challenges you to a duel for {duel.amount} {duel.unit}! Type {duel.accept} to fight or {duel.deny} to pass. You have {duel.seconds} seconds..
  • Someone wins the wager (wonLine): starts at {duel.winner} defeats {duel.loser} and wins {duel.amount} {duel.unit}!.
  • Turned down (deniedLine): starts at {duel.target} turned down the duel. Nothing was taken from {duel.starter}..
  • Called off (cancelledLine): starts at {duel.starter} called off the duel with {duel.target}. Nothing was taken..
  • No answer in time (timeoutLine): starts at {duel.target} did not answer {duel.starter} in time. The duel is off and nothing was taken..
  • Under the smallest wager (underLine): starts at @{user} the smallest duel is {duel.min} {duel.unit}..
  • Over the largest wager (overLine): starts at @{user} the largest duel is {duel.max} {duel.unit}..
  • Not enough to duel (shortLine): starts at @{user} you have {duel.balance} {duel.unit}, not enough for a duel of {duel.amount}..
  • The one called out has too little (targetShortLine): starts at @{user} {duel.target} has {duel.balance} {duel.unit}, not enough for a duel of {duel.amount}..
  • A duel is already waiting (busyLine): starts at @{user} there is already a duel waiting for {duel.target}. Try again in a moment..

Command-specific response fill-ins include {duel.winner}, {duel.loser}, {duel.starter}, {duel.target}, {duel.amount}, {duel.unit}, {duel.currency}, {duel.balance}, {duel.min}, {duel.max}, {duel.seconds}, {duel.accept}, {duel.deny}, {duel.cancel}. A saved reply can also use generic command fill-ins such as {touser} for a named person.

Use it

  • !duel @someone — Duel someone. With no wager picked on the Duel step, it is for glory.
  • !duel @someone 100 — Duel someone for 100 of the wager currency. With no amount, the smallest wager. They answer with the accept or turn-down word; nothing is taken until they accept.
  • !duel accept or !duel deny — Answer a duel someone sent you (the words are on the Duel step).
  • !duel cancel — Call off the duel you sent before it is answered.

Note: The answer words skip the command’s cooldowns and who-may-use rules: only the one called out can accept or turn down, and only the one who started it can call it off. Both balances are checked when the duel is sent and again at the accept. Then the loser’s stake moves to the winner. A duel that is turned down, called off or not answered moves nothing.

If it does not respond

Check that the command and owning feature are on, the sender is in the allowed audience, and its cooldown has elapsed. A missing permission or connector can also prevent a response.

Browse commands · Set up an Automation flow