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.

oper command

Old posts that have not been replied to for several years.
Locked
p
pstruh
Voice
Posts: 11
Joined: Fri Mar 04, 2005 6:34 am

oper command

Post by pstruh »

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
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

'/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...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

/me sighs

a modern day ircop ;)
F
Figga
Voice
Posts: 6
Joined: Tue Aug 30, 2005 10:25 am

Oper

Post by Figga »

Here is my oper script i wrote for this

Code: Select all

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 !!
Locked