egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

limiting existing pub/msg commands to those in the userfile

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
traumatic
Voice


Joined: 12 Aug 2007
Posts: 1

PostPosted: Sun Aug 12, 2007 4:54 am    Post subject: limiting existing pub/msg commands to those in the userfile Reply with quote

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? Confused

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.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Aug 12, 2007 6:54 am    Post subject: Reply with quote

You can change the flags used in the pub/pubm binds (i.e. instead of -|- you can use f|f).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber