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.

Help

Old posts that have not been replied to for several years.
Locked
P
Psx|Dk
Voice
Posts: 11
Joined: Thu Aug 21, 2003 9:04 am

Help

Post by Psx|Dk »

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 ?
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Locked