Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My provider forces a re-connect all 24h, which breaks my XChat session. Though the connection usually is re-established within seconds, due to the changed IP the "old session" is invalidated. XChat automatically joins the network(s), but then my nick gets refused as it "is already in use". I can manually solve that by "/nickserv ghost MyUser MyPass" -- but I could not find any place to configure XChat to do that automatically. Is that possible, and if so, how?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

This is based off my SU answer to a similar question

Assuming all versions work the same, you can put /msg nickserv ghost name password as a connect command under server settings for freenode.

enter image description here

To change your nick as well is a little tricky - type in

/msg nickserv ghost username password

Then CTRL SHIFT u a

/nick username

As one line. This should do both commands one after another.

share|improve this answer
    
The OP is looking for an automatic thing, like a plugin to do the job when they are not there. Funnily enough that was mentioned in the SU answer. –  Elfy Jun 15 '12 at 12:31
    
I do seem to recall it did so during my testing, i should be no different from if he pinged out and reconnected (where this works) –  Journeyman Geek Jun 15 '12 at 12:35
    
Hope it does then - I know someone else might be interested :) –  Elfy Jun 15 '12 at 12:41
    
If and only if its in the connect commands will it work. :) –  Thomas W. Jun 15 '12 at 12:50
    
Which is what the answer says. Added a screenshot for clarity. The trick is really in getting multiple connect commands to ghost and change name at once. –  Journeyman Geek Jun 15 '12 at 12:53

Here is a plugin to handle automatic ghosting and identification. Just put the *.py file in your xchat scripts folder ~/.xchat2/

https://github.com/Sepero/xchat_auto_ghost

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.