0

Every time I'm connecting to the server due to the screen irssi command, I gain new nick with underline (like: "nick_" and now it's already "nick____").

I don't have to say how annoying it is. I tried to use command 'screen -Ur irssi', but then "There is no screen to be resumed matching irssi." appeared.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Cekos
  • 21
  • 1
  • 3
  • Hi and welcome to stack overflow. It's very hard to help you debug a verbal description. Do you have code that you've written (even if it's not working)? please edit your question and add the code in so we can see it too (don't use the comments, the formatting is awful). – Taryn East Jun 03 '15 at 23:10
  • But there is no code. The problem is just in connecting to IRC always with new nick. – Cekos Jun 03 '15 at 23:45
  • 1
    Ah, if there'e no code, then it's probably not really classified under "programming" (which is the bailiwick of Stack Overflow). Anything to do with running applications on a computer is more likely to fit better with our sister site ServerFault - which helps people with these kinds of issues instead :) I'll put in a "flag to close" that recommends moving the question there. Alternatively you might also find better help on SuperUser which is on running programs, but I think this is probably more ServerFault's area of expertise. – Taryn East Jun 04 '15 at 00:41

1 Answers1

0

Start irssi and enter these lines:

/network add -autosendcmd "/nick {your nick}" {server name}
/save

In these lines you might notice two "variables":

  1. {your nick} - change to your nick;
  2. {server name} - server's name (i.e. Freenode).

This sets Irssi to change your nick automatically (it runs a command after connection).

Also, you might like checking out Irssi documentation related to the subject: documentation

alternate_nick
An alternate nickname to use if your preferred one is already taken.

nick $IRCNICK
Your main, preferred nick.

Related: resource

Artfaith
  • 1,183
  • 4
  • 19
  • 29