Author Topic: Timed messages with custom command chaining  (Read 2294 times)

0 Members and 1 Guest are viewing this topic.

TheSyntox

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: The_Syntox
Timed messages with custom command chaining
« on: December 29, 2017, 11:02:37 PM »
Hi,
Is it possible to chain custom command in timed message using @exec@?
Let's say I have a custom command !phrase displaying random phrase for the list.
I would like to have a timed msg like:

The phrase of the day is: Hello what the beatifoul day is today!

so i created following timed message:

Code: [Select]
The phrase of the day is: @exec@[1,!phrase]
But this is not working for me. Timed message is displaying this as a text.
Thanks for any help on this.

Sizzles

  • Youngling
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: Timed messages with custom command chaining
« Reply #1 on: January 12, 2018, 09:17:34 AM »
The way i got it to work is made the timed message !phrase so it runs the !phrase command which is The phrase of the day is: @readfile@[Phrase\Phrase.txt] set to only run as bot or streamer assuming you don't want other people using it. Then in C drive > DeepBot - Twitch Streamer Assistant > custom logs > Phrase > Phrase.txt i have put the random phrases one each line.
eg.
Hello what a beautiful day is today!
Pie is nice
Something something day

Hope i understood correctly :)

TheSyntox

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: The_Syntox
Re: Timed messages with custom command chaining
« Reply #2 on: January 25, 2018, 05:34:33 PM »
The way i got it to work is made the timed message !phrase so it runs the !phrase command which is The phrase of the day is: @readfile@[Phrase\Phrase.txt] set to only run as bot or streamer assuming you don't want other people using it. Then in C drive > DeepBot - Twitch Streamer Assistant > custom logs > Phrase > Phrase.txt i have put the random phrases one each line.
eg.
Hello what a beautiful day is today!
Pie is nice
Something something day

Hope i understood correctly :)

This is exactly what I'm looking for! I'll give it a shot in a moment. Thanks a lot!

EDIT: Unfortunately same problem appears here. All I get in chat is:
The phrase of the day is: @readfile@[Phrase\Phrase.txt]

Looks like variables and Built-In Commands are ignored in timed messages.

BTW I can not see any option to set timed msg to be run by Bot or streamer only.
« Last Edit: January 25, 2018, 06:38:20 PM by TheSyntox »

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Timed messages with custom command chaining
« Reply #3 on: January 25, 2018, 08:33:54 PM »
That is why you put the command in the timed message, not the the command message. So you would make the command !phrase, then put it !phrase in the timed message by itself.
Old Name: RepentGamingTV
Twitch: Here

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

TheSyntox

  • Youngling
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
  • Twitch Name: The_Syntox
Re: Timed messages with custom command chaining
« Reply #4 on: February 04, 2018, 12:07:05 AM »
That is why you put the command in the timed message, not the the command message. So you would make the command !phrase, then put it !phrase in the timed message by itself.
Got it! Works now.
Thanks