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 

nick indentify

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Dave_Melb
Voice


Joined: 23 May 2007
Posts: 5

PostPosted: Wed May 23, 2007 1:25 am    Post subject: nick indentify Reply with quote

Bear with me as i am a RAW Newbie to all this and helping someone out.
We have a Trivia Bot from windrop into Bigpond servers and we need to be able to identify the bot nick. I have edited a passwurd script obtained via here but it didnt work. I can only imagine the script ran before the bot logged into the server. Question - where do i put the nick identify commands and what is the proper syntax.

Thanks all
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Wed May 23, 2007 2:34 am    Post subject: Reply with quote

look for this in your eggdrop.conf, and alter it to suit your needs
Code:
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putserv "PRIVMSG NickOp: Identify MyPassword"
}

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Dave_Melb
Voice


Joined: 23 May 2007
Posts: 5

PostPosted: Wed May 23, 2007 6:39 am    Post subject: thank Reply with quote

thanks yoohoo let you know how I go (have edited the conf file and sent to friend)
Back to top
View user's profile Send private message
Dave_Melb
Voice


Joined: 23 May 2007
Posts: 5

PostPosted: Thu May 24, 2007 12:43 am    Post subject: didnt work Reply with quote

here is the part of the script

we still get the bot signing in ok but then going to guest

please advise

# 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 +i-ws"
putserv "PRIVMSG NickOp: Identify password"
}

# Set the default port which should be used if none is specified with
# '.jump' or in 'set servers'.
set default-port 7000

# This is the bot's server list. The bot will start at the first server listed,
# and cycle through them whenever it gets disconnected. You need to change these
# servers to YOUR network's servers.


# Both the port and password fields are optional; however, if you want to set a
# password you must also set a port. If a port isn't specified it will default to
# your default-port setting.
set servers {
# nsw-chat.bigpond.com:7000
}
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu May 24, 2007 2:35 am    Post subject: Reply with quote

Couple of things need to be understood. The actual problem you have isn't clear. Is the bot connecting to the server? Is the ident setting to guest? Why is the only server you have listed commented out? I guess what we need to know first and foremost is what is the exact problem you are encountering? If you are completely lost, post your conf file here, inbetween code tags, and explain fully what is going on. As for the settings you posted, they should look something like this:
Code:
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +xni-ws"
putserv "PRIVMSG Nickserv: Identify MyPaSsWoRd"
}
set default-port 7000
set servers {
   nsw-chat.bigpond.com
   qld-chat.bigpond.com
   vic-chat.bigpond.com
}
You will need to change MyPaSsWoRd to whatever password you have set for your bot. Please keep in mind that the proc evnt:init_server will run only after it has connected to the server, and only 1 time. Hope this helps you.
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu May 24, 2007 12:03 pm    Post subject: Reply with quote

Code:
/ns access help

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
scarface
Voice


Joined: 11 Jul 2005
Posts: 12

PostPosted: Thu May 24, 2007 12:13 pm    Post subject: Reply with quote

putserv "PRIVMSG NickOp: Identify password"

you dont mean

putserv "PRIVMSG NickOp :Identify password"

?
Back to top
View user's profile Send private message
Dave_Melb
Voice


Joined: 23 May 2007
Posts: 5

PostPosted: Thu May 24, 2007 4:23 pm    Post subject: trying now Reply with quote

The bot does log into the server as the nick jbot

then it changed to Guest after 60 seconds

i am trying now and will advise
Back to top
View user's profile Send private message
Dave_Melb
Voice


Joined: 23 May 2007
Posts: 5

PostPosted: Thu May 24, 2007 4:40 pm    Post subject: all working Reply with quote

OK

I changed to putserv "PRIVMSG NickOp :Identify password"

and all works now

thanks everyone for your patience and help

cheers
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Thu May 24, 2007 4:50 pm    Post subject: Reply with quote

scarface wrote:
putserv "PRIVMSG NickOp: Identify password"

you dont mean

putserv "PRIVMSG NickOp :Identify password"

?
oops Wink
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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