set adchannel "#omfgnaps #jonathan"
set adtime 1
set adtext {
{
":: IAC :: Du suchst oder hast Accounts? :: Von WoW bis Steam? :: Von GW bis ESL? :: Bei uns bist du richtig! :: IAC ::"
}
{
":: IAC :: "
}
}
if {![string match "*go*" [timers]]} { timer $adtime go }
proc go {} {
global adchannel adtime adtext
set text [lindex $adtext [rand [llength $adtext]]]
foreach line $text {
putserv "PRIVMSG $adchannel :$line"
}
if {![string match "*go*" [timers]]} { timer $adtime go }
}
So in this case, it only posts in the first channel #omfgnaps, Whats wrong? thanks.
you don't have a loop by channels, which is curious, since you had that loop yesterday when you asked for timer help, and for some reason you have removed it
demond wrote:you don't have a loop by channels, which is curious, since you had that loop yesterday when you asked for timer help, and for some reason you have removed it