> For the complete documentation index, see [llms.txt](https://docs.mimu.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mimu.bot/autoresponder/resources/autoresponder-examples/custom-currency-command-examples/.steal-user-amount-command.md).

# .steal \[user] \[amount] command

*this example uses our more complex variables, diving into user arguments with choices/locked choices!*

### ✎ autoresponder command

`/autoresponder add trigger:.steal reply:{requirearg:1|user} {requirearg:2|number}`\
`{choose:-[$2]|0|[$2]} {lockedchoose:you tried to steal money from [$1] but failed and ended up losing [$2] {server_currency} instead! :notsopog: | you tried to steal money from [$1] but didn't earn any {server_currency}! oops. | you tried to steal money from [$1] and was able to steal [$2] {server_currency} :pog:} {modifybal:-[choice] | [$1]} {modifybal:[choice]}`\
\
`[lockedchoice]`

`/autoresponder editmatchmode trigger:.steal reply:startswith`

<figure><img src="/files/jzMtyXFXr0YAMwTnSgVD" alt=""><figcaption><p>the functioning .steal command</p></figcaption></figure>
