Changeident
Ident Changes by Admins:
WARNING: This guide doesn't work well
As we can see, the above command:
/msg *identfile setformat global { reply "%user%" }
won't allow user to change their ident, and there has been some recent requests on change of ident we admins are required to change it as per the user wants.
But, with the settings above, which reads the znc username as ident reply we can't easily change ident, and hence we used to clone the user account and change the username as their desired ident name, as a result it enforces the user to use new znc username.
There's an alternate way where we can fix this without tampering the username, so upon any ident change requests, we have to run the following in our irc client:
/msg *identfile setformat global { reply "%ident%" }
We can then goto the requested users znc settings and change ident box contents to their desired ident for all of their networks, disconnect the user and reconnect the user.
Voila, it reads the ident box as "ident", but, this setting alone would also allows the user to change the ident by themself (which we don't want). So, after we successfully confirmed the user's ident reply changed as their desired one. We now have to run the following command on irc-client:
/msg *identfile setformat global { reply "%user%" }
After this, Do Not restart the user. Hence the ident displays the changed one (untill there's a disconnection and reconnection), but also disallows the user to make any changes with it.
But, this is a temporary solution. Everytime the user gets disconnected, upon re-connection, the ident will be changed to their "username".
Now, if a single user gets disconnected, we can use the above method to set the new ident and move on. In the case of server down or other issues, where all znc users get disconnected. We have to do the following in irc-client:
/msg *identfile setformat global { reply "%ident%" }
And restart znc, make sure the idents of the users changed by checking any random user you know whom uses different username and ident,
This way, whatever the user placed on "ident" box would read as ident and gets displayed.
Afterwards, the following command should be run via irc-client
/msg *identfile setformat global { reply "%user%" }
This ensures the user can't change it afterwards.
Note: The user must have their desired ident on their znc's identbox
As you can see, the process is pretty much manual, everytime we have a znc shutdown by any cause, we have to run the above said commands to make sure the user gets their desired ident as well as we have control over the ident.
Note : If your server has very less users whom use a different ident from their username, It is advised to do manually fix theirs (individually) and restart their znc's, rather than restarting the whole znc.
If you have alternative solutions or a way to automate the process, kindly do suggest them.