| View previous topic :: View next topic |
| Author |
Message |
pstruh Voice
Joined: 04 Mar 2005 Posts: 11
|
Posted: Tue Aug 30, 2005 5:25 am Post subject: oper command |
|
|
HI,
I try to identify eggdrop via command /oper but I dont know which command i must use.
How can I send message to ircd become IRCop?? What I must put in my config file?
Thanks |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Tue Aug 30, 2005 7:23 am Post subject: |
|
|
'/command ...' -> 'putserv "command :..."'
arguments that will never contain spaces will most likely be place before " :" like channel names, nick names etc. _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Aug 30, 2005 11:52 am Post subject: |
|
|
/me sighs
a modern day ircop  |
|
| Back to top |
|
 |
Figga Voice
Joined: 30 Aug 2005 Posts: 6
|
Posted: Wed Sep 21, 2005 5:21 am Post subject: Oper |
|
|
Here is my oper script i wrote for this
| Code: |
set operid "OPERNAME-AS-DEFINED-IN-CONFIGFILE"
set operpass "OPERPASS-AS-SET-IN-CONFIGFILE"
set nspass "NICKSERV-PASS-FOR-ABILITY-TO-SERVICES-ADMIN"
bind evnt - init-server oper
bind evnt - init-server identity
proc identity init-server { putquick "privmsg nickserv : id $nspass " }
proc oper init-server { putserv "OPER $::operid $::operpass" }
|
This will oper the bot on connect to the server and id to nickserv ( dont forget to register the nick though via partyline (.msg nickserv register password fake@email.com) Substituting password for your pass)
Also if u want your eggdrop to set hosts and add access to AOP / XOP commands you need to add it to operserv (/msg operserv oper add NICK)
assuming you have services (the nick needs to be registered before you do this !!) and also dont forget to add the Oline to the irc config file and rehash before !!
Good Luck....
Edited ..... paste the above code into a script and include the script in your eggdrop.conf file there is no need to add direct to the .conf obviously you can but makes sense to not !! |
|
| Back to top |
|
 |
|