I was wondering.
When you use channel set #channel +inactive the bot will part straight away.
Same goes for all the other channel settings.
Is there a way to bind to detect for these channel settings so the eggdrop knows if they are being set?
If so, how does it work?
If anyone knows the answer to this i'd be most gratefull as i've been looking for a way to make my bot react straight away when i set a custom channel setting
Last edited by metroid on Sat May 21, 2005 9:02 am, edited 1 time in total.
No, you didn't understand my question. The channel set +inactive was just an example. It's about the fact that the bot detects it being set, and i need to know how.
validchan <channel>
Description: checks if the bot has a channel record for the specified
channel. Note that this does not necessarily mean that the bot is ON
the channel.
Returns: 1 if the channel exists, 0 if not
Module: channels
I read every word, but it was not easy to understand.
No there is actual no way to bind channel set events. I doub`t that someone will be added in the feature too.
but you can:
- unbind the commands and use your own processing of that
- rename the procsnames, make new proc with original name, put your own stuff inside and call at least the renamed proc