To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Keepnick: Difference between revisions
Jump to navigation
Jump to search
DarthGandalf (talk | contribs) Created page with "{{DISPLAYTITLE:keepnick}} {{Core Module | version = 0.060}} This module tries to get you your primary nick. == Usage == {{Module arguments}} === Commands === This module sh..." |
Be more clear about when the module will change states. |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:keepnick}} | {{DISPLAYTITLE:keepnick}} | ||
{{Core Module | version = 0.060}} | {{Core Module | version = 0.060}} | ||
This module tries to get | This module tries to get your primary nick, as specified in the ZNC config. Especially useful on IRC networks that do not have services like NickServ to reserve your name and prevent others from taking it. | ||
== Usage == | == Usage == | ||
{{Module arguments}} | {{Module arguments | ||
| type = network}} | |||
=== Commands === | === Commands === | ||
This module should work | This module should work without user interaction; when you can't get your primary nick, it should try to get it for you. However, you can manually change states if necessary. | ||
However, you can | |||
The module has two states: | |||
* The enabled state: the module is trying to acquire your primary nick. The module will enter this state if you connect to IRC and someone already has your nick. Your nick will be changed to your primary nick after it becomes available, and the module will enter the disabled state. | |||
* The disabled state: the module is not trying to acquire your primary nick. The module will enter this state if you change to your primary nick, if you intentionally change your nick from your primary nick to something else (so you can change your nick and not be forced back to your primary nick), or if you are prevented from changing nick by a channel mode or ban. | |||
; <code>/msg *keepnick enable</code> | |||
: Manually enters the enabled state | |||
; <code>/msg *keepnick disable</code> | |||
: Manually enters the disabled state | |||
; <code>/msg *keepnick state</code> | |||
: Tells you what state the module is in; whether the module is currently trying to change your nick or not. | |||
; <code>Help <?search></code> | |||
: Shows this help, optionally search for word/phrase in help output. |
Latest revision as of 02:10, 27 December 2018
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod keepnick The code for this module can be found here. This module is part of ZNC since Version 0.060 |
This module tries to get your primary nick, as specified in the ZNC config. Especially useful on IRC networks that do not have services like NickServ to reserve your name and prevent others from taking it.
Usage
Arguments
This network module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
This module should work without user interaction; when you can't get your primary nick, it should try to get it for you. However, you can manually change states if necessary.
The module has two states:
- The enabled state: the module is trying to acquire your primary nick. The module will enter this state if you connect to IRC and someone already has your nick. Your nick will be changed to your primary nick after it becomes available, and the module will enter the disabled state.
- The disabled state: the module is not trying to acquire your primary nick. The module will enter this state if you change to your primary nick, if you intentionally change your nick from your primary nick to something else (so you can change your nick and not be forced back to your primary nick), or if you are prevented from changing nick by a channel mode or ban.
/msg *keepnick enable
- Manually enters the enabled state
/msg *keepnick disable
- Manually enters the disabled state
/msg *keepnick state
- Tells you what state the module is in; whether the module is currently trying to change your nick or not.
Help <?search>
- Shows this help, optionally search for word/phrase in help output.