Hello to all of the tcl coders out there! I am hoping someone could write a simple tcl script (I rather not be directed to a manual page, I sadly do not have the time to get into tcl now =/), or point me to an existing one. I want my bot to say a specific message two times a day (midnight and noon for example). Thank you VERY much for the help!. - tony
try to think, before posting .
if you use * or ?? will be same ^^.
correct bind would be:
bind time - "00 ?8 *" mytime
(37) TIME (stackable)
bind time <flags> <mask> <proc>
proc-name <minute> <hour> <day> <month> <year>
Description: allows you to schedule procedure calls at certain
times. mask matches 5 space separated integers of the form:
"minute hour day month year". minute, hour, day, month have a
zero padding so they are exactly two characters long; year is
extended to four characters in the same way.
Module: core
Many of the bindings allow match characters in the arguments. Here
are the four special characters:
? matches any single character
* matches 0 or more characters of any type
% matches 0 or more non-space characters (can be used to match a single
word)
~ matches 1 or more space characters (can be used for whitespace between
words)
You're right about the first part matching every minute though