Author Topic: Use one Command to play sounds  (Read 1906 times)

0 Members and 1 Guest are viewing this topic.

firefist235

  • Youngling
  • *
  • Posts: 28
  • Karma: +1/-0
    • View Profile
  • Twitch Name: firefist235
Use one Command to play sounds
« on: November 16, 2015, 04:15:50 PM »
Hi all,

is it possible to make one command to play sounds? For Example:
!sounds -> lists all available sounds
!play soundXY plays the chosen sound.

I've senn this in another stream and i find this idea really nice. Don't know if DeepBot was used there. The benefit would be that i don't need to make a single command for every sound, and the cooldown-timer would prevent spam for all sound.

Hope you can help me
Have a nice Day ;)

Mitch

  • Master
  • ****
  • Posts: 401
  • Karma: +24/-1
  • Took me 20 minutes to change this...
    • View Profile
  • Twitch Name: Mitch619911
Re: Use one Command to play sounds
« Reply #1 on: November 16, 2015, 04:29:47 PM »
You'd need to make a command for each sound, then you can list the commands in a command.
That's what i'd do.
:)

firefist235

  • Youngling
  • *
  • Posts: 28
  • Karma: +1/-0
    • View Profile
  • Twitch Name: firefist235
Re: Use one Command to play sounds
« Reply #2 on: November 16, 2015, 04:51:44 PM »
that would be possible. but how do you prevent spam. Let's say you have 5 sounds, every sound has a 5 Minutes cooldown. So a viewer could play every sound once at a time bevor he has to wait for the cooldown to expire.

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Use one Command to play sounds
« Reply #3 on: November 17, 2015, 12:20:49 AM »
Make the sound commands cost points so people would have to spend hard earned points creating a currency sink and offering economic spam protection.

firefist235

  • Youngling
  • *
  • Posts: 28
  • Karma: +1/-0
    • View Profile
  • Twitch Name: firefist235
Re: Use one Command to play sounds
« Reply #4 on: November 25, 2015, 04:14:07 PM »
i've done so ;) thx