Author Topic: Custom CMD work for RKO  (Read 1990 times)

0 Members and 1 Guest are viewing this topic.

n3wb_pro

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • Twitch Name: n3wb_pro
Custom CMD work for RKO
« on: May 19, 2016, 09:31:03 PM »
So I kind of figured out how to get russian roulette working etc.  But here is the complicated thing my mods/viewers want to have in the channel.  A command to RKO certain viewers by @target@ and then it times out the user for 5 seconds.  Basically a 5 second ban to implement the idea they RKO'D the user.  Example:
!rko USER2
RESPONSE: USER1 RKO'D USER2
RESPONSE 2: USER 2 IS TIMED OUT after the RKO goes off
should look like this in chat:
USER 2: Hey don't RKO ME!
User 1: !rko USER2
BOT: USER 1 RKO'D USER 2
USER 2 : MAN DONT DO IT!<---Purged chat=Timeout 5 seconds
5 seconds pass
USER 2: wow the RKO works why target me!? 

Basically that is what we are trying to do now.  This is something that is fun to use.  Please let me know if anyone figures this out because I am looking at the @if@ commands and it doesn't seem to help with @target@ and then a seperate command to time them out.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom CMD work for RKO
« Reply #1 on: May 20, 2016, 04:17:44 AM »
Wait, so you want the user to timeout the other user?

Why not have the bot run the command a few seconds after the initial command starts it?

I am guessing you want something like this:

@if@[>||@rand@[0|100]||75||!rkotimeout @target@||@target@ didn't get RKO'd]

!rkotimeout

/timeout @target@ TimeInSecondsHere
Example: /timeout @target@ 10
Old Name: RepentGamingTV
Twitch: Here

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

n3wb_pro

  • Youngling
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • Twitch Name: n3wb_pro
Re: Custom CMD work for RKO
« Reply #2 on: May 20, 2016, 11:46:29 AM »
Well yes but the TIMEOUT needs to have a response in the channel. 
BOT: USER 1 RKO'd USER 2  (after timing the user out)

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Custom CMD work for RKO
« Reply #3 on: May 20, 2016, 11:54:26 AM »
Well yes but the TIMEOUT needs to have a response in the channel. 
BOT: USER 1 RKO'd USER 2  (after timing the user out)

Then add a chain command to the timeout command.




Old Name: RepentGamingTV
Twitch: Here

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