Author Topic: Trying to set delay on several commands  (Read 1180 times)

0 Members and 1 Guest are viewing this topic.

darkothenoob

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: darkothenoob
Trying to set delay on several commands
« on: December 07, 2017, 10:11:42 AM »
Hello all, and good evening!

I'm setting up a trivia bot command function, and I'm trying to make it so that when the original command is run (by mod or myself), it will run several questions afterwards.  Here is what I have, and I don't know what I've done wrong :(


!sgg command

It's Trivia Time!! @exec@[30,!startguessinggame@rand@1l100], @exec@[30,!startguessinggame@rand@1l100], @exec@[30,!triviadone].

Any help would be appreciated, I searched through the forums and I didn't understand what I was plugging in incorrectly.

Thank you!

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Trying to set delay on several commands
« Reply #1 on: December 08, 2017, 01:02:20 AM »
So it probably isn't working because you are trying to run guessing game twice at 30 seconds. Also, no punctuation: @exec@[30,!startguessinggame@rand@1l100] @exec@[30,!startguessinggame@rand@1l100] @exec@[30,!triviadone]
Old Name: RepentGamingTV
Twitch: Here

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

darkothenoob

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: darkothenoob
Re: Trying to set delay on several commands
« Reply #2 on: December 11, 2017, 10:09:04 AM »
Thank you for the reply!

I edited it as you said, and the first command works but nothing runs afterwards.  Here is the exact command

!trivia @exec@[30,!startguessinggame@rand@[1l500]] @exec[60,!startguessinggame@rand[1l500]] and so forth.  But, it doesn't run in the 30 second increments.

Did I plug something in wrong?

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Trying to set delay on several commands
« Reply #3 on: December 11, 2017, 11:28:48 AM »
Should be: @exec@[30,!startguessinggame @rand@[1l500]]

Just spacing is probably the issue.
Old Name: RepentGamingTV
Twitch: Here

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