Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: TheSyntox on December 29, 2017, 11:02:37 PM

Title: Timed messages with custom command chaining
Post by: TheSyntox 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.
Title: Re: Timed messages with custom command chaining
Post by: Sizzles 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 :)
Title: Re: Timed messages with custom command chaining
Post by: TheSyntox 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.
Title: Re: Timed messages with custom command chaining
Post by: TheNumbLock 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.
Title: Re: Timed messages with custom command chaining
Post by: TheSyntox 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