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.

!list voicer

Old posts that have not been replied to for several years.
Locked
User avatar
toefraz
Halfop
Posts: 44
Joined: Thu Jul 01, 2004 4:35 am

!list voicer

Post by toefraz »

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
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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}
}
User avatar
toefraz
Halfop
Posts: 44
Joined: Thu Jul 01, 2004 4:35 am

Post by toefraz »

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!!!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

mea culpa ;) $chan should really have been $::chan within the proc
User avatar
toefraz
Halfop
Posts: 44
Joined: Thu Jul 01, 2004 4:35 am

Post by toefraz »

ill try it, thank you very much...again :wink:
When the going gets tough...Make lemonade!!!
Locked