> 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="https://1355643618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LjUSz3NQrpyR-tHhUV-%2Fuploads%2FQA5ee87JJuma9rwGBD9x%2Fimage.png?alt=media&amp;token=918831f4-0546-4522-bc24-e8d75b1e5de2" alt=""><figcaption><p>the functioning .steal command</p></figcaption></figure>
