Hey
i cant find the function !!!
i have
#ChanA
#ChanB
set trigger "!"
set upflag "|"
bind pub $upflag ${trigger}sysinfo pub:sysinfo
bind pubm $upflag "${trigger}sysinfo*" pub:sysinfo
proc sysinfo2 { } {
if {[catch {exec uptime} uptime]} { set uptime "Uptime non disponible." }
return "\0034\002\x9b\x9b\003\002 Current Uptime: \[\002$uptime\002 \]"
}
proc pub:sysinfo { nick host hand chan arg } {
if {[antiflood_flood $nick $host]} {return 0}
putserv "PRIVMSG $chan :[sysinfo2]"
}
whne i exec from #ChanA it only shows there !, how do i get it to announce in both #ChanA and #ChanB when its Exec from #ChanA or #ChanB
any ideas ?