View previous topic :: View next topic |
Author |
Message |
QuePID Voice
Joined: 18 Oct 2005 Posts: 1 Location: Harlan, KY
|
Posted: Tue Oct 18, 2005 1:29 pm Post subject: Changing Internal Command's Bind Flags |
|
|
I am wanting to change the bind flags for certain eggdrop internal commands (such as .+host and .-host).
I mainly want to those with +o flag to be able to add/remove their own hostmasks within the bot as well as those of others. Which normally requires +m flag.
I tried adding the following two lines to the eggdrop's config file:
unbind dcc t|m +host *dcc:+host
bind dcc o|o +host *dcc:+host
unbind dcc t|m -host *dcc:-host
bind dcc o|o -host *dcc:-host
I then did a rehash and sure enough doing ".binds dcc all" showed the binds that I specified for .+host and .-host. But people with global and/or local op flags could not change others hostmasks. Instead they received a message saying "You can't add hostmasks to non-bots."
Any suggestions on how to get this working? _________________ --
QuePID
quepid@gmail.com
http://www.quepid.org/
Harlan, KY
-- |
|
Back to top |
|
 |
spock Master
Joined: 12 Dec 2002 Posts: 319
|
Posted: Tue Oct 18, 2005 1:43 pm Post subject: |
|
|
remove that "if" in cmd_pls_host (cmds.c) and rebuild your bot _________________ photon? |
|
Back to top |
|
 |
|