#Set your bot's nick password
set nickpass "damn.seckzi"
set init-server { putquick "PRIVMSG chanserv@services.dal.net :IDENTIFY $botnick $nickpass" -next }
Put this in a .tcl file, upload it and rehash/restart your bot or put it in your bot's .conf file in a new line, where ever it should definately work.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
# Set this variable to the registered nick that you are going to use.
set nsnick ""
# Set this variable to the password of the registered nick you are using.
set nickpass ""
# Set this variable to the name of the nickserv bot on your network.
set nsname ""
# Set this variable to the command used to identify yourself with nickserv.
set identcomm ""
bind evnt - init-server my:procedure
proc my:procedure {type} {
global nsnick nickpass nsname identcomm
putserv "PRIVMSG $nsname :$identcomm $nsnick $nickpass"
}
putlog "Perform loaded"
return "Perform loaded"
zaida wrote:i tried both the above scripts but not working
the first one is showing error
while the second one is loaded but not working.
Error what error? This piece of code is fine and works great with me.
I am guessing you have not setup your bot's .conf file properly. Because you have tried more than 5 scripts and the simple init-server is also not working with you. So either your bot is not setup properly, you haven't restart it, one or some of your loaded tcl scripts is clashing or generating errors.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
# Set this variable to the registered nick that you are going to use.
set nsnick ""
# Set this variable to the password of the registered nick you are using.
set nickpass ""
# Set this variable to the name of the nickserv bot on your network.
set nsname ""
# Set this variable to the command used to identify yourself with nickserv.
set identcomm ""
bind evnt - init-server my:procedure
proc my:procedure {type} {
global nsnick nickpass nsname identcomm
putserv "PRIVMSG $nsname :$identcomm $nsnick $nickpass"
}
putlog "Perform loaded"
return "Perform loaded"
And this is basically the same. You are just setting more variables. And there is no need to return, a putlog comment.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================