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.
S
Saktas
Post
by Saktas » Wed Oct 30, 2002 12:46 pm
Is there a way I can bind a msg command so that when somoene messages the bot it removes the ignore setting from a channel record?
All I want is:
/msg botnick assist
and that makes the bot do .chanset #channel -inactive
Hope someone out there can help me
darko``
Op
Posts: 121 Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta
Post
by darko`` » Sun Nov 03, 2002 6:04 am
#Usage /msg <bot> assist <#channel>
bind msg - assist pub:assist
proc pub:assist {nick uhost handle text} {
set channame [lindex [split $text] 0]
# here you can do some test to determine if the channel is valid ect... If you really need it.
channel set $channame -inactive
}
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.