Deep Bot - Twitch Streamer Assistant

Deep Bot => Feature Requests => Topic started by: FrenLee on August 22, 2016, 08:38:43 AM

Title: Per user cooldown on the !gamble command
Post by: FrenLee on August 22, 2016, 08:38:43 AM
HeyGuys,

I'm a happy user of the custom Gamble script that is provided over here: http://wiki.deepbot.tv/custom_mini-games#gamble
I just have 1 problem with it. I'm trying to set up a per-user cooldown, but it doesn't seem to work. Can anybody help me or point me in the right direction of making this work?
Title: Re: Per user cooldown on the !gamble command
Post by: TheNumbLock on August 22, 2016, 09:06:43 AM
HeyGuys,

I'm a happy user of the custom Gamble script that is provided over here: http://wiki.deepbot.tv/custom_mini-games#gamble
I just have 1 problem with it. I'm trying to set up a per-user cooldown, but it doesn't seem to work. Can anybody help me or point me in the right direction of making this work?

It is already built in, follow the setup instructions. You will put the number of seconds in the limit.txt file.
Title: Re: Per user cooldown on the !gamble command
Post by: FrenLee on August 24, 2016, 05:34:22 AM
It still didn't work how I wanted.
 
Managed to get a 60 second cooldown, but the cooldown was not per user.
Example: If I gambled, no one else could gamble before after a minute. And then someone else would have to wait yet another minute to get their chance.
Title: Re: Per user cooldown on the !gamble command
Post by: TheNumbLock on August 24, 2016, 11:35:37 AM
Did you put 60 second cooldown on the command itself in the command editor? If yes, that would be why.
You have to setup the folder with the limit.txt file if you want a per user cooldown.