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 

oper command

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
pstruh
Voice


Joined: 04 Mar 2005
Posts: 11

PostPosted: Tue Aug 30, 2005 5:25 am    Post subject: oper command Reply with quote

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
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Tue Aug 30, 2005 7:23 am    Post subject: Reply with quote

'/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
View user's profile Send private message MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Aug 30, 2005 11:52 am    Post subject: Reply with quote

/me sighs

a modern day ircop Wink
Back to top
View user's profile Send private message Visit poster's website
Figga
Voice


Joined: 30 Aug 2005
Posts: 6

PostPosted: Wed Sep 21, 2005 5:21 am    Post subject: Oper Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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