Author Topic: Need help with "Cooldown per user" command.  (Read 2021 times)

0 Members and 1 Guest are viewing this topic.

fujitohitoshi

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: crazymmogamer
Need help with "Cooldown per user" command.
« on: June 18, 2016, 08:54:07 PM »
Hello everyone.
At the begining i would like to say that i'm completely new to the deepbot and i realy need a help with one specific thing.

So i'v made a custom command which changes normal viewers into vip bronze viewers for 300 points, for 30 days period.


But since i'v made on screen widget with animation and sound effect. I dont want viewers to spam that command all the time.
Thats why i need to set a "cooldown per user" command and somehow link it to this command so if a viewer will buy vip bronze status a 1 month cooldown will be set for that viewer and he wont be able to use that command for the next 30 days.

i know that theres something like this: http://wiki.deepbot.tv/doku.php?id=user_custom_commands#cooldown_per_user

I'v imported it to deepbot


I'v made a folder in custom logs which is called same as my vip level up command which is: próbatraw

But i have no idea how to get thos commands work with !próbatraw command.

Guys could someone guide me thru this please ?

fujitohitoshi

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: crazymmogamer
Re: Need help with "Cooldown per user" command.
« Reply #1 on: June 18, 2016, 11:37:33 PM »
Ok im fighting with this thing for about 8-10h now and i have no idea how to make that thing works :/

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Need help with "Cooldown per user" command.
« Reply #2 on: June 19, 2016, 01:56:40 AM »
In the !cooldownpass you want to chain the actual command command or use @exec@.
You want to change !cooldown command name to !YourCommandHere.

Example:

!cooldown:



!cooldownpass:



!upgradebronze2: (This is your actual command)

Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

fujitohitoshi

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: crazymmogamer
Re: Need help with "Cooldown per user" command.
« Reply #3 on: June 19, 2016, 02:56:25 AM »
I'v made it work already.. after like 12h of fighting XD thanks for help guys :)