Follow me on twitter

Ticket #421 (closed enhancement: fixed)

Opened 22 months ago

Last modified 15 months ago

.botset jupenick

Reported by: bryan Owned by: bryan
Priority: normal Milestone: 1.2.16
Component: irc Version:
Keywords: altnick jupenick nick set botset jupe Cc:

Description

Add a .botset variable of 'jupenick'.

This differs in 'altnick' in #115 as the bot will default to 'nick' and default to adding 'altchars' onto 'nick' unless 'jupenick' is available.

Example:

.botset wtest nick wtest (Technically not needed, only shown for clarity)
.botset wtest jupenick bryan
.set altchars -_

Example 1

The bot connects to IRC and finds the nick bryan taken. It goes to wtest. When the nick bryan leaves IRC, it jumps to that nick and does not switch off of it.

Example 2

The bot connects to IRC and finds the nick bryan taken and the nick wtest taken. The bot tries nick wtest-, taken, then wtest_ and succeeds (See also #410 for altchars). When the nick wtest frees up, the bot changes to wtest. When the nick bryan frees up, it changes to bryan and does not switch off of it.

Example 3

The bot connects and finds the nick bryan free, it takes it. It does not switch off of it.

Rationale against 'altnick' (#115)

With the altnick approach, if you wanted to jupe your own nick you would have to do:

.botset wtest nick bryan
.botset wtest altnick wtest

The problem would then be that the bot would be rotating on the nick 'bryan' on connect. So when it connects and finds the nick bryan taken, it jumps to bryan- and then bryan_ and so on.

Change History

Changed 22 months ago by bryan

  • status changed from new to closed
  • resolution set to fixed

(In [3845]) * Added 'jupenick'. Jupenick is preferred over 'nick' but only 'nick' will be rotated with altchars. Ie, nick_, nick-, etc. (fixes #421) * The bot will never stay on an old jupenick, .set jupenick - will force the bot to use a variation of its 'nick' * Attempts to change 'nick' now will rotate until a variation of that nick is found. * Juped/RESVd nicks are handled better now

Changed 22 months ago by bryan

(In [3846]) * Port [3845] to trunk from 1.2.16

  • Added 'jupenick'. Jupenick is preferred over 'nick' but only 'nick' will be rotated with altchars. Ie, nick_, nick-, etc. (fixes #421)
  • The bot will never stay on an old jupenick, .set jupenick - will force the bot to use a variation of its 'nick'
  • Attempts to change 'nick' now will rotate until a variation of that nick is found.
  • Juped/RESVd nicks are handled better now

Changed 22 months ago by bryan

  • status changed from closed to reopened
  • resolution fixed deleted

This is pretty broken.

Needs to be fully re-tested.

Changed 15 months ago by Bryan Drewery

  • status changed from reopened to closed
  • resolution set to fixed

* Added 'jupenick'. Jupenick is preferred over 'nick' but only 'nick' will be rotated with altchars. Ie, nick_, nick-, etc. (fixes #421) * The bot will never stay on an old jupenick, .set jupenick - will force the bot to use a variation of its 'nick' * Attempts to change 'nick' now will rotate until a variation of that nick is found. * Juped/RESVd nicks are handled better now

svn: 3845

Changeset: c967cf537f699f03d656803d64d540ace38e371e

Changed 15 months ago by Bryan Drewery

* Added 'jupenick'. Jupenick is preferred over 'nick' but only 'nick' will be rotated with altchars. Ie, nick_, nick-, etc. (fixes #421) * The bot will never stay on an old jupenick, .set jupenick - will force the bot to use a variation of its 'nick' * Attempts to change 'nick' now will rotate until a variation of that nick is found. * Juped/RESVd nicks are handled better now

svn: 3845

Changeset: c967cf537f699f03d656803d64d540ace38e371e

Changed 15 months ago by bryan

Github posted the last 2 out of order. This is going to remain closed until a good example of it being broken is found.

Note: See TracTickets for help on using tickets.