Hi
I need a script.
Bot should every 120 mins write on my channel, and my mate channel "Hello, I am here
Can someone write me this script:D
PLEASE
Code: Select all
bind time - 00* everyHour
proc everyHour {mm hh args} {
if {[scan $hh %d]%2} return;# skip odd hours
foreach chan {#yourchan #friendschan} {
puthelp "PRIVMSG $chan :\002Hello, I am here"
}
}If I change this script:user wrote:Code: Select all
bind time - 00* everyHour proc everyHour {mm hh args} { if {[scan $hh %d]%2} return;# skip odd hours foreach chan {#yourchan #friendschan} { puthelp "PRIVMSG $chan :\002Hello, I am here" } }
Code: Select all
bind time - 00* everyHour
proc everyHour {mm hh args} {
if {[scan $mm %d]%20} return;# skip odd hours
foreach chan {#yourchan #friendschan} {
puthelp "PRIVMSG $chan :\002Hello, I am here"
}
}