Ticket #421 (closed enhancement: fixed)
.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.



