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.

event schedule from the bot channel

Help for those learning Tcl or writing their own scripts.
Post Reply
l
ldevries
Voice
Posts: 12
Joined: Sat Feb 23, 2013 7:01 pm
Location: Great Falls

event schedule from the bot channel

Post by ldevries »

looking for a way to create a time event from the bot channel. ie .tcl bind time 00 09 * * * <post to channel>? and then delete that event afterwards
l
ldevries
Voice
Posts: 12
Joined: Sat Feb 23, 2013 7:01 pm
Location: Great Falls

Post by ldevries »

Was able to find out how to do it and figured I would post it here for others.

in the partyline do the following 1st:

.tcl proc announceStuff {msg args} { putmsg #<channel> $msg }

then you can load the timer with the following:

.tcl bind time - "10 11 17 02 2013" [list announceStuff "\0034 <YOUR MSG HERE>\017"]

time = ("min hour day month year")
don't forget the time uses month as jan=00 feb=01 march=02, etc
Post Reply