Just wondering if anyone has come across a script that sends a message to a channel at a certain actual time (eg 12:00) as opposed to a timed msg every x minutes...
Basicaly this sounds like an antiidle script. Go to TCL Archive and search there for one. And/or you can make yourself one using 'bind time'. For this look in the tcl-commands.doc file located in the doc/ dir.
Once the game is over, the king and the pawn go back in the same box.
# Set this in the format "MIN:HOUR:DAY:MONTH:YEAR"
# Not all fields are needed. THe more included, the more precices the timer
# Feilds can be omited, by leaving them blank. All feilds are 2 digits (though year may be 4)
# EG
# Miday = 00:12
# Every hour = 00
# Every hour, only on the 2nd of the month = 00::02
set timemask "00:12"
set timemsg "PRIVMSG #channel :Our message goes here, in IRCD command format"
bind time - "*" message:timed
proc message:times {args} {
global timemask timemsg
set idx 0
set temp [split $timemask :]
foreach a $args {
if {([lindex $temp $idx] == [lindex $args $idx]) || ([lindex $temp $idx] == "")} {
incr idx
continue
} else {
return
}
}
puthelp $timemsg
}
ppslim helped me make a timed notice for my channel. Went off every 15 minutes and send a general notice to the channel. Wouldnt be too hard to modify for this purpose