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.

nick indentify

Help for those learning Tcl or writing their own scripts.
Post Reply
D
Dave_Melb
Voice
Posts: 5
Joined: Wed May 23, 2007 1:14 am

nick indentify

Post by Dave_Melb »

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
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

look for this in your eggdrop.conf, and alter it to suit your needs

Code: Select all

bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
  putserv "PRIVMSG NickOp: Identify MyPassword"
}
D
Dave_Melb
Voice
Posts: 5
Joined: Wed May 23, 2007 1:14 am

thank

Post by Dave_Melb »

thanks yoohoo let you know how I go (have edited the conf file and sent to friend)
D
Dave_Melb
Voice
Posts: 5
Joined: Wed May 23, 2007 1:14 am

didnt work

Post by Dave_Melb »

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
}
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

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: Select all

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.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

/ns access help
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
scarface
Voice
Posts: 12
Joined: Mon Jul 11, 2005 3:49 pm

Post by scarface »

putserv "PRIVMSG NickOp: Identify password"

you dont mean

putserv "PRIVMSG NickOp :Identify password"

?
D
Dave_Melb
Voice
Posts: 5
Joined: Wed May 23, 2007 1:14 am

trying now

Post by Dave_Melb »

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
D
Dave_Melb
Voice
Posts: 5
Joined: Wed May 23, 2007 1:14 am

all working

Post by Dave_Melb »

OK

I changed to putserv "PRIVMSG NickOp :Identify password"

and all works now

thanks everyone for your patience and help

cheers
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

scarface wrote:putserv "PRIVMSG NickOp: Identify password"

you dont mean

putserv "PRIVMSG NickOp :Identify password"

?
oops :wink:
Post Reply