This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

aidle.tcl

Old posts that have not been replied to for several years.
Locked
V
Volume
Halfop
Posts: 84
Joined: Fri May 23, 2003 5:08 am

aidle.tcl

Post by Volume »

can somebody change the script to ctcp info ?

any bots ctcp himself. the ctcp info himself must ignore the bot and the idle time is 1 second :)

that is better no channel no query info
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Omitting the "must ignore the bot and the idle time is 1 second" which I don't understand.

Code: Select all

set ai_time 60

proc ai_sendmsg {} {
  global ai_time botnick
  puthelp "PRIVMSG $botnick :\001INFO\001"
  utimer [expr [rand $ai_time] + 1] ai_sendmsg
  return 0
}

if {![string match *ai_sendmsg* [timers]]} {
  timer [expr [rand $ai_time] + 1] ai_sendmsg
}
Not much left of it :lol:
Locked