I'm positive this is possible, and trust me I've searched the net for the last 3 days and the forums before I posted this message, but I'm wondering if it's possible to set those 'bind' methods to channel modes themselves. Not usermodes the bot has in it.
For example, I want to make a script only allowable to +v and +o users in a channel. (These users are not in the bot db)
Is there still a way to use the bind to determine a users chanmode.
-----
My other quick question doesn't need an answer but just wondering if anyone has come accross a script that will /whois or whatever a user to determine what server that user is on, and store it in a db/txt file to determine the % of users on one server in any specific channel.
c0de wrote:I'm wondering if it's possible to set those 'bind' methods to channel modes themselves. Not usermodes the bot has in it.
For example, I want to make a script only allowable to +v and +o users in a channel. (These users are not in the bot db)
The way you talk makes it sound like you're looking for 'bind mode', but I think what you want is the commands 'isop' and 'isvoice' (to get the current status of a user in some channel) Check doc/tcl-commands.doc for details