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.

limiting existing pub/msg commands to those in the userfile

Help for those learning Tcl or writing their own scripts.
Post Reply
t
traumatic
Voice
Posts: 1
Joined: Sun Aug 12, 2007 4:38 am

limiting existing pub/msg commands to those in the userfile

Post by traumatic »

I've had a request to limit the function of bseen.tcl's output to those who are, at least, +f in the eggdrop's userfile.

I'm certainly no guru <g> and I can think of a few possibilities that _might_ work and I'm thinking this can be accomplished with a new small script utilizing bass' commands for the seen script... ?

Would it be best to change the command in the script itself and disable the public function and only allow queries by private message? That way, only those who need to perform this will need to be told of the change. If so, what is the best way to do this? :?

I've been at this for hours and I'm no closer. Any help, small or large, would be greatly appreciated. The eggdrop in question is the channel bot on an official help channel of an IRC network and the seen function, while needed, is being abused by many users. Thanks in advance to any who reply.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

You can change the flags used in the pub/pubm binds (i.e. instead of -|- you can use f|f).
Post Reply