Hi again, so I noticed problem with this script, people can bet even when they don't have points, for example: !slots -500 <-- when they add ( - ) in front of number. Maybe someone know how to fix it ?
There are a few ways to do this. The easiest way, if you don't want to create any custom replies for if they use a negative number, would be to just change the event line to:
on $*:text:/^!slots\s\d+$/Si:#:
This forces positive numbers without decimal places.