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 

egg+psybnc - different nicks on different networks - how

 
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
eggdropout
Voice


Joined: 17 Oct 2005
Posts: 5

PostPosted: Sat Oct 22, 2005 12:51 am    Post subject: egg+psybnc - different nicks on different networks - how Reply with quote

I am using egdrop 1.6.17 + latest version of psybnc (eggdrop connect to psybnc locally). Now I know psybnc supports different nicks on different networks, and nicks can be changed by typing /nick networkprefix'newnick to change nick on specified network.

Ok, but how to make the eggdrop issue this command? I tried .nick through telnet but it seems to change my handle and not bot's nick. In eggdrop.conf there's only one option for nickname, so i guess ill have to make the bot automatically change nicks and not allow him to force default nick on all networks (because mIRC seems to be doing this - on reconnect it changes all nicks to default nick so one has to change nicks on every restart of mIRC).

Or maybe force the psybnc to use a certain nick for a certain network and not listen to eggdrop, but how?

Hope someone will be able to help. Rolling Eyes
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Oct 22, 2005 7:42 am    Post subject: Reply with quote

the thing you are looking for is called "init-server" and is within the .conf file. However you will need to now basics about the IRC protocol to use it right.
_________________
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
eggdropout
Voice


Joined: 17 Oct 2005
Posts: 5

PostPosted: Sat Oct 22, 2005 1:47 pm    Post subject: Reply with quote

That's what I got in my .ini file:

Code:
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +ih-ws"
}


Now, I tried this:

Code:
putquick "NICK prefix'newbotnick"


The bot did change nick, but not immediately, like two seconds after it joined channel on that network. Also I had to do bquit and bconnect to make it execute the init script Confused
Back to top
View user's profile Send private message
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Oct 22, 2005 9:10 pm    Post subject: Reply with quote

well, when the nickchange is being initialized is a psybnc thing. the bot will send it right after login to IRC (meaning as soon the BNC send the cached welcome, MOTD, etc.). As you can figure it triggers only when the bot connects to the bnc and not when the bnc actually connects to IRC.
_________________
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
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