This is the script :
#Set the channel on which you want the bot to cycle on
set spamchan "#channel"
#How many minutes should the bot idle in channel before it parts for the cycle (in mins)
set spamdet_idletime "9"
#How many seconds should the bot stay gone in the cycle before rejoining the channel (in secs)
set spamdet_gonetime "10"
bind evnt - connect-server resetinactive
bind evnt - prerehash resetinactive
bind evnt - prerestart resetinactive
if {![string match *spamdetect* [timers]]} {timer $spamdet_idletime spamdetect}
proc resetinactive {type} {
global spamchan
channel set $spamchan -inactive
putlog "INACTIVE: Set channel settings for $spamchan back to -inactive."
return 1
}
proc spamdetect {} {
global botnick spamchan spamdet_idletime spamdet_gonetime
channel set $spamchan +inactive
putlog "CYCLE: Cycling $spamchan to detect spammers."
putlog "CYCLE: Will rejoin $spamchan after $spamdet_gonetime secs."
utimer $spamdet_gonetime "channel set $spamchan -inactive"
if {![string match *spamdetect* [timers]]} {timer $spamdet_idletime spamdetect}
}
-----------------------------
I want to add this if possible :
<bot> !download
<bot> !reload
<bot> !moloz
and after he gives that commands to the channel , he cycles. and if he get's any answer from anywone by notice , msg , ctcp, to report it in another channel
and if u can to be abble to add more words like !download ..
Thank you
