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.

command for eggdrop on chatspace

Old posts that have not been replied to for several years.
Locked
T
TheUnholyOne

command for eggdrop on chatspace

Post by TheUnholyOne »

Hello @ll.

I got stuck, bringing an eggdrop on a chatspace server. The server is configured to only allow registered and authorised nicks to connect directly (not using JAVA).

Now I tried to connect the eggdrop to that server (it is allowed to login) and got this scenary:

1. eggdrop connects to server
2. server asks for the nickpass

Should be slightly easy, but I didn't find a sollution, because a "NICKSERV" doesn't exist on that curious kind of IRC-Server.

On IRC I use

Code: Select all

puthelp "PRIVMSG nickserv :IDENTIFY $nick_password"
(part of identify-script, which Made_Duke gave me) which does work.

The chatspace wants a simple:

/pass $nick_password

But PRIVMSG always want's a nickname to send a message to.
Has anyone of you a solution or at least a hint on how to solve this?


Thank's in advance and greetinx
TheUnholyOne
User avatar
esix
Voice
Posts: 39
Joined: Thu Aug 12, 2004 11:16 am
Location: [esix@localhost]
Contact:

Post by esix »

i think if you are looking for auto auth script you should check the tcl archive :wink:
The End
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Here this should do your job!

Code: Select all

#Set your bot's nick password here.
set nickpass "asskicker"

bind evnt - init-server identify:nick

proc identify:nick {type} { 
 global nickpass
 putquick "PASS $nickpass" -next
}
·­awyeah·

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

Post by TheUnholyOne »

Thnx for this fast reply.

Unfortunately it doesn't work (I guess, I found that script in another posting you made, awyeah ?!).

I already have about 6 ways to nowhere in my config like binding Notices, init_server-commands and comparing strings.

Unfortunately I couldn't get it work yet. Curious about it is: if I e.g. putserv "nick bla" or putserv "pass <wrongpass>"
nothing happens.

I tried logging in using a wrongpass. I get an reply from the server (of course) that the pass is wrong.

eggdrop doesn't get anything when using putserv, putquick.

Any further ideas?


I just made the following:

adding these lines to the config:

Code: Select all

set cmd "PASS passwort"
putserv $cmd
telnetting to the bot and asking for cmd (.set cmd) outputs the right password.

But the bot still isn't identified, as if putserv is not supportet ?!?!?!


Greetinx again
TheUnholyOne
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Putserv, putquick are only used when you want to send a message to a nick or a channel.

Here you said you wanted /pass like someone does a /whois then these are direct raw commands and they should be done the same way as I mentioned. I don't know whats the problem with yours. Which IRCd is your bot running on?!
·­awyeah·

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

Post by TheUnholyOne »

That's the "problem" or "interessing part".

It's no real IRCd but Chatspace (which I personally wouldn't call a real IRCd).

Greetinx
TuO


I got something working...

When I type
.dump pass <PASSWORT>
in the dcc-chat, the bot identifies and logs in. So the "only" thing I have to do, is to find a way, to send this dump in the config-file, am I right?

Greetinx
TuO
T
TheUnholyOne

Post by TheUnholyOne »

Hmmm, still can't manage it :(

If I can't use putquick an putserv.... I cannot find a command suitable to sending a line to a server (like dump in the partyline does).

Guess there should be a way. I'll continue searching for it. But I think I'll need some help.


Greetinx
TuO
d
difoo
Voice
Posts: 33
Joined: Sat Jul 03, 2004 9:56 am

Post by difoo »

put this in your eggdrop.conf:

set init-server { putserv "PASS mypass" }

done.
T
TheUnholyOne

Post by TheUnholyOne »

Hi difoo.
Thanks for your help.
But it doesn't work, too. I tried it at the beginning, at the end and in the server-module part of the config.

Maybe so (best case me) finds a solution.

Thanks to all of you for help!

Greetinx
TuO
User avatar
esix
Voice
Posts: 39
Joined: Thu Aug 12, 2004 11:16 am
Location: [esix@localhost]
Contact:

Post by esix »

try this, add it to your config file.

proc evnt:init-server {type} {
global botnick
putquick "MODE $botnick +i-ws"
putserv "pass yourpass"
}
The End
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Scroll above....esix I think, I already told that. :-?
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
esix
Voice
Posts: 39
Joined: Thu Aug 12, 2004 11:16 am
Location: [esix@localhost]
Contact:

Post by esix »

ahh, didn't see, i apologize :oops:
u did tcl i just said for a eggdrop.conf because i thought if those modes can be change, even pass can be setted then :roll:
The End
T
TheUnholyOne

Post by TheUnholyOne »

Hmmm, still can't get it working.

I guess there should be a REAL IRC-server and not that weired chatspace-kindamakingmeconfused-one.

Nevertheless, thanks to all of you guys for your help/ suggestions. I didn't expect, that it's that kind of hard to connect an eggi to chatspace.

I just wanted to do a favour to the chaspace's admin. But now that's enough for a while. I'll maybe try again after a few days (and cleaning up a very large eggdrop-config (most commented out).

If I should find a solution I of course will post it here.

Greetinx
TuO
e
er0sion

Post by er0sion »

try this... create a file called nickserv.tcl .. and put this in it
make sure to load it from the conf :)
it works :D

bind raw - 512 botnick
proc botnick { from keyword text} {
putserv "PRIVMSG nickserv :identify botpassword"
}
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

So on what thing does raw 512 trigger on over here? Moreover is raw 512 the correct trigger because this is chatscape not a real ircd. :roll:
·­awyeah·

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