PDA

View Full Version : [REQ]Diskfree on chan join


epoke
04-11-2005, 07:37 AM
hi ,
i try to add to iobanana.tcl announce of diskspace when the sitebot join my channel
something like that :
:BOTname came online with :120go DIsKfree

i'm starting to code with no luck ATM but if some have already done it ;)

TIa

deo
04-11-2005, 07:59 AM
set botvars(schan) "#channel" ;# channel bot needs to join

bind join - * _START

proc _START {nick user hand chan} {global botvars
if {[string equal -nocase $chan $botvars(schan)] && [isbotnick $nick]} {
...go disk free proc...
}
}



there's a start...