#Set the channel for this script to work on
set my_channel "#channel"
#Set the list of messages you want to display randomly
set my_list {
{ I am away }
{ Don't bother me. }
{ Go away }
{ Be back later }
{ Gone for dinner! }
}
#Set the interval delay of each message in minutes
set my_timer "5"
proc send:message {} {
global my_list my_channel my_timer
putserv "PRIVMSG $my_channel :[lindex $my_list [rand [llength $my_list]]]"
timer $my_timer send:message
}
timer $my_timer send:message
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
#Set the channel for this script to work on
set my_channel "#channel"
#Set the list of messages you want to display randomly
set my_list {
{ I am away }
{ Don't bother me. }
{ Go away }
{ Be back later }
{ Gone for dinner! }
}
#Set the interval delay of each message in minutes
set my_timer "5"
proc send:message {} {
global my_list my_channel my_timer
putserv "PRIVMSG $my_channel :[lindex $my_list [rand [llength $my_list]]]"
timer $my_timer send:message
}
if {[timerexists send:message]!=""} { killtimer [timerexists send:message] }
timer $my_timer send:message