should be:putserv "PRIVMSG $bchan "Global Message from $nick: $misc1end"
Code: Select all
putserv "PRIVMSG $bchan :Global Message from $nick: $misc1end"
Code: Select all
bind time - "00 00 * * *" clean:pub
Or with regexp:Papillon wrote:Code: Select all
set ident [lindex [split $uhost @] 0]
Code: Select all
regexp {^([^@]+)} $uhost _ ident
You can also change toPapillon wrote:you can changetoCode: Select all
if {$vict == $botnick} {
Code: Select all
if {[string equal -nocase $vict $botnick]} {
Code: Select all
if {[isbotnick $vict]} {
Code: Select all
global botnick