how do I automatically kill a ghost nick (e.g. i got disconnected then reconnected) on connect with using xchat? I'm on freenode.
Assuming all versions work the same, you can put /msg nickserv ghost name password as a connect command under server settings for freenode.
To change your nick as well is a little tricky - type in
Then CTRL SHIFT u a
As one line. This should do both commands one after another