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.

The Bots Nick

Old posts that have not been replied to for several years.
Locked
B
BassTeQ

Post by BassTeQ »

On my irc network, if someone is using a registered nickname you are able to send a command to kill that user and get your nickname back.
Now I would like to know if its possible for the bot to send a command to a irc service when it can obtain its correct nickname.

For example in the config file you can specify a command to execute when the bot need's ops, needs a channel key etc...

Can this be done for when it needs to regain its nickname? Could this be done in a script perhaps?

Thank You.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

On 2002-02-27 18:23, BassTeQ wrote:
On my irc network, ... kill that user ... a script perhaps?
What network are you on? What command or commands do you use to kill that user and to get your nick back?

<font size=-1>[ This Message was edited by: egghead on 2002-02-28 18:50 ]</font>
B
BassTeQ

Post by BassTeQ »

Austnet IRC network has a service called nickop, you register your nickname with the service, then if someone uses it you type
/msg nickop kill nickname password
and they will be disconnected from the network, allowing you to reobtain your nickname.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

BassTeQ, a script can be made that compares the variable $nick and $botnick. You may find my script attempt here:

http://www.geocities.com/eggheadtcl/rec ... ck.tcl.txt

You must change the "service" part and the putserv line to fit your austnet needs. On dalnet one can do a RECOVER or GHOST similar to your kill on austnet, without using a password (if nickserv recognises the uhost).
This is preferred as it will avoid putting passwords in your config file or the script file.

<font size=-1>[ This Message was edited by: egghead on 2002-02-28 19:40 ]</font>
B
BassTeQ

Post by BassTeQ »

That script looks like just what I need.
Thanks ill test it out soon.
Cheers.
Locked