How do I make parameters?

I want to make something like:
!gamble {amount}

import random
win = 0
lose = 0
wnum = random.randint(1, ({amount} * 2))
if wnum > {amount}:
    win = True
else:
    lose = True
if win:
    {score} += {amount}
else:
    {score} -= {amount}

Hiya, what would you want to display? Gambling with input, you can use $(1) or $(query) to get the input. However not sure what the goal is, what is ‘score’? There is no way to store points/score, each time the command is used the points would be reset.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.