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.

Looking For a !list TCL

Old posts that have not been replied to for several years.
Locked
B
BarGuy

Looking For a !list TCL

Post by BarGuy »

I am looking for a TCL script that will allow irc users to type !list and receive a list of triggers the bot knows, then either type !trigger, !tellme trigger, or <botname> trigger to view the info. I also want to be able to teach the bot new triggers with commands like !add, !insert, !remove, etc etc. I have found a few but not exactly what I was looking for..

Any recommendations would be greatly appreciated.

THX

BG
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 pub - !list p
proc p {n u h c t} {
  foreach b [binds pub] {append x "[lindex $b 2] "}
  puthelp "notice $n :public triggers: $x"
}
Locked