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.

chanset -inactive

Old posts that have not been replied to for several years.
Locked
S
Saktas

chanset -inactive

Post by Saktas »

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 :D
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

#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.
Locked