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.
Old posts that have not been replied to for several years.
toefraz
Halfop
Posts: 44 Joined: Thu Jul 01, 2004 4:35 am
Post
by toefraz » Fri Dec 10, 2004 12:36 am
Can someone please help me find a tcl that says !list to a channel every 20 minutes, and voices whoever responds with "Fserv" or "File Server Online" in the notice. Thanks
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Dec 10, 2004 1:13 am
Code: Select all
bind time - "%0 % % % %" {puthelp "privmsg $chan !list";#}
bind notc - * fserv; proc fserv {n u h t d} {
if [regexp {(Fserv|File Server Online)} $t] {pushmode $chan +v $n}
}
toefraz
Halfop
Posts: 44 Joined: Thu Jul 01, 2004 4:35 am
Post
by toefraz » Fri Dec 10, 2004 10:32 pm
I couldn't get that script to work until I replace $chan with the channel that I wanted it to work on.
bind notc - * fserv; proc fserv {n u h t d} {
if [regexp {(Fserv|File Server Online)} $t] {pushmode #channel +v $n}
}
When the going gets tough...Make lemonade!!!
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Dec 10, 2004 10:46 pm
mea culpa
$chan should really have been $::chan within the proc
toefraz
Halfop
Posts: 44 Joined: Thu Jul 01, 2004 4:35 am
Post
by toefraz » Fri Dec 10, 2004 10:50 pm
ill try it, thank you very much...again
When the going gets tough...Make lemonade!!!