This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Bot message to channel

Old posts that have not been replied to for several years.
Locked
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

I was looking for a .tcl script for the bot to send a specific text message at a specific time every hour. I found EBI.tcl script for an hourly message to channel but I'd like to be able to specify a certain time OF the hour for the message to go out. This possible??
M
Mordred

Post by Mordred »

bind time - "06 30 * * *" {putserv "PRIVMSG #chanofyourchoice : text of the message"}

triggers a timed message at 0630 hours in a 24 hour time format. The three asterisks relate to day month and year. As asterisks they signify any day month and year, ie, every day.
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

Hey! Thanks. I will give that a shot!
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

Ok , how about if I wanted the message to go out, say at 5 or 10 past every hour? That possible?

To set it for 5 minutes after the hour would it be something like:

bind time - "05 * * *" {putserv "PRIVMSG #chanofyourchoice : text of the message"}


<font size=-1>[ This Message was edited by: DrTongue on 2002-03-31 07:51 ]</font>
M
Mordred

Post by Mordred »

close.. add an asterisk in the "hour" field t signify that you want it to trigger on any hour, thus:

bind time - "* 05 * * *" {putserv "PRIVMSG #chanofyourchoice : text of the message"}
User avatar
DrTongue
Op
Posts: 115
Joined: Sat Jan 26, 2002 8:00 pm
Location: Orlando, Florida
Contact:

Post by DrTongue »

Great! Thank you very much!
Locked