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.

bot connection, and authorizing

Old posts that have not been replied to for several years.
Locked
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

bot connection, and authorizing

Post by Kx »

hey all,

ive moved to a server that has set ircstyle olines with a pass for mirc access and a pass for ops... im wonderin if you know of a way to set this in eggdrop?

which i believed may would and sadly didnt:

set default-port 6667
set servers {
bla.bla.bla.bla:6667:aaaa:bbbb:cccc
bla.bla.bla.bla:6667:aaaa:bbbb:cccc

the a's represent the nick pass, b's the mirc access pass and the c's the opers pass

ive only ran eggdrops on nick oline set servers and tryin it with this layout does not work - do you know of a way to set this in the config so the bot will first give the nick pass and then the mirc access pass and last opers?
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

reading up here am i right in sayin that its in this area i need work:

bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i"
putquick "PRIVMSG pass :nickpasshere?"
putquick "PRIVMSG Kx@xxxxxx :login Kx"
}
set default-port 6667
set servers {
bla.bla.bla.bla:6667:abcdefg (mirc access pass ala allowed in on irc)
bla.bla.bla.bla:6667:abcdefg
}

i gettin warmer?
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

readin a post by Awyeah, i can set the preform as in mirc in the config.

i need the bot to type /pass passhere on connect, and /oper botsname operpasshere.

bind evnt - init-server my:procedure
proc my:procedure {type} {
global botnick
putserv "PRIVMSG :pass onx34"
}

this is what i have set and my bot is still bein killed for nickname pass not bein givin.

really appreciated a reply thats not me and from someone with more knowledge to put all this together so it works ;)
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Try this:

Code: Select all

bind evnt - init-server my:procedure 

proc my:procedure {type} { 
 putquick "PASS <nick-password here>" -next
 putquick "OPER <oper-name> <oper-password here>" -next
} 
This procedure, will first make the bot identify its nick
and then operup.
#Substitute of the '/PASS <password>' mIRC command in TCL
putquick "PASS <nick-password here>"

#Substitute of the '/OPER <name> <password>' mIRC command in TCL
putquick "OPER <oper-name> <oper-password here>"
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

Ty. Works :)

Kx
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

ok, the coffee helped; the bot was joinin as of the set oline, but the nick i forgot to register... even with that code you wrote set this is the log on connect:

-NOTICE- Nickname Botie is registered. You must provide the password (type /PASS password) to use it.

and the bot does not seem to be typin that as its bein killed for not givin the pass.

Need ideas ppl? ;)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try this:

Code: Select all

putserv "PRIVMSG nickserv :identify Botie nickpass"
Or

Code: Select all

putserv "PRIVMSG nickserv :identify nickpass"
Either of those two should do the trick :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

this is a private server, not reg irc and i dont believe nickserv works, but ill have a go ;)
K
Kx
Voice
Posts: 11
Joined: Tue Aug 03, 2004 1:08 pm

Post by Kx »

still no workin.

appreciate more ideas.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The o:lines are stored in a configuration file on the IRCD's shell, and that is simply one line of text assigning the various access flags to a specified nick which has had a pass attached to it by the Admin.

From the status window of an IRC client the command is simply: /OPER [<nickname> [<password>]]. So, theoretically, what awyeah posted earlier should work:

Code: Select all

putserv "OPER <oper-name> <oper-password here>"
If the password is incorrect for the nick used to "operup" an error notice will be sent by the server.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

That's what I am saying Alchera. :mrgreen:
I didn't post a reply as the solution I posted is a very ideal and general to work on almost every IRCd.

I don't know how you have setup the private server KX, or which IRCd you are using. :-?
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked