Re: Force IRSSI to use a particular nick only and retry infinitely until it gets that

Abhijeet Rastogi <[email protected]> Sun, 19 May 2013 10:20:39 +0530
Newsgroups gmane.network.irc.irssi.user
Message-ID <CACXxYfwubCzCqtWmFEoH=ot2C_woUGA+KzoRSVGTy=ddRawiqQ@mail.gmail.com>
--14dae9d251468b5ea704dd0af76a
Content-Type: text/plain; charset=ISO-8859-1

Hi Joel,

The problem with that is that when there is a disconnect or something,
Irssi can't connect via the same nick because it says it's in use. If
sasl.pl is used, it won't say so because my nick is pre-authenticated.


On Fri, May 17, 2013 at 7:52 PM, Joel Esler <[email protected]> wrote:

> You don't need a plugin to do that.  IRSSI will auth to nickserv on it's
> own.
>
>
> On May 17, 2013, at 1:15 AM, Abhijeet Rastogi <[email protected]>
> wrote:
>
> Hey,
>
> I finally got the solution. I used sasl.pl to pre-authenticate to
> freenode which solved the problem.
>
>
> On Fri, May 17, 2013 at 10:36 AM, tamouse mailing lists <
> [email protected]> wrote:
>
>> This is typical behaviour of irssi (and many other irc clients): when
>> the nick you want to join with is already in use, it appends things to
>> the nick you specified until it finds one that is not in use. There
>> are settings in irssi to give an alternate nick if this happens.
>>
>> The reason your desired nick is still in use on the freenode network
>> is that it hasn't had a chance to time out from being disconnected
>> yet. The thing to do when that happens is use freenode's nickserv
>> GHOST command, which you can read up on via /msg nickserv help ghost
>> when you're logged in.
>>
>>
>> On Thu, May 16, 2013 at 12:46 AM, Abhijeet Rastogi
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I run IRSSI 24x7. I sometimes receive a message like "Irssi: No PONG
>> reply
>> > from server irc.freenode.net in 301 seconds, disconnecting" and when it
>> > tries to reconnect, it says my nick already in use. After that, instead
>> of
>> > using "abcdefgi", it starts using "abcdefg1". It's annoying as I don't
>> know
>> > when it got changed.
>> >
>> > I already have my nick specified in irssi config but still it starts
>> using a
>> > new nick. Why?
>> >
>> >   fn = {
>> >     type = "IRC";
>> >     nick = "abcdefghi";
>> >     autosendcmd = "/^msg nickserv IDENTIFY accessed";
>> >   };
>> >
>> > Is there anything that I can do about that? Thanks in advance.
>> >
>> > --
>> > Regards,
>> > Abhijeet Rastogi (shadyabhi)
>> > http://blog.abhijeetr.com
>>
>
>
>
> --
> Regards,
> Abhijeet Rastogi (shadyabhi)
> http://blog.abhijeetr.com
>
>
>


-- 
Regards,
Abhijeet Rastogi (shadyabhi)
http://blog.abhijeetr.com

--14dae9d251468b5ea704dd0af76a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Joel,<br><br></div>The problem with that is that w=
hen there is a disconnect or something, Irssi can&#39;t connect via the sam=
e nick because it says it&#39;s in use. If <a href=3D"http://sasl.pl">sasl.=
pl</a> is used, it won&#39;t say so because my nick is pre-authenticated. <=
br>

</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Fri,=
 May 17, 2013 at 7:52 PM, Joel Esler <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wro=
te:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word">You don&=
#39;t need a plugin to do that. =A0IRSSI will auth to nickserv on it&#39;s =
own.<div>

<div class=3D"h5"><div><br></div><div><br><div><div>On May 17, 2013, at 1:1=
5 AM, Abhijeet Rastogi &lt;<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>&gt; wrote:</div><br><blockquote ty=
pe=3D"cite">

<div dir=3D"ltr">Hey,<br><br>I finally got the solution. I used <a href=3D"=
http://sasl.pl/" target=3D"_blank">sasl.pl</a> to pre-authenticate to freen=
ode which solved the problem.<br></div><div class=3D"gmail_extra"><br><br><=
div class=3D"gmail_quote">



On Fri, May 17, 2013 at 10:36 AM, tamouse mailing lists <span dir=3D"ltr">&=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">tamouse.lis=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



This is typical behaviour of irssi (and many other irc clients): when<br>
the nick you want to join with is already in use, it appends things to<br>
the nick you specified until it finds one that is not in use. There<br>
are settings in irssi to give an alternate nick if this happens.<br>
<br>
The reason your desired nick is still in use on the freenode network<br>
is that it hasn&#39;t had a chance to time out from being disconnected<br>
yet. The thing to do when that happens is use freenode&#39;s nickserv<br>
GHOST command, which you can read up on via /msg nickserv help ghost<br>
when you&#39;re logged in.<br>
<div><div><br>
<br>
On Thu, May 16, 2013 at 12:46 AM, Abhijeet Rastogi<br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">abhijeet.1=
[email protected]</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I run IRSSI 24x7. I sometimes receive a message like &quot;Irssi: No P=
ONG reply<br>
&gt; from server <a href=3D"http://irc.freenode.net/" target=3D"_blank">irc=
.freenode.net</a> in 301 seconds, disconnecting&quot; and when it<br>
&gt; tries to reconnect, it says my nick already in use. After that, instea=
d of<br>
&gt; using &quot;abcdefgi&quot;, it starts using &quot;abcdefg1&quot;. It&#=
39;s annoying as I don&#39;t know<br>
&gt; when it got changed.<br>
&gt;<br>
&gt; I already have my nick specified in irssi config but still it starts u=
sing a<br>
&gt; new nick. Why?<br>
&gt;<br>
&gt; =A0 fn =3D {<br>
&gt; =A0 =A0 type =3D &quot;IRC&quot;;<br>
&gt; =A0 =A0 nick =3D &quot;abcdefghi&quot;;<br>
&gt; =A0 =A0 autosendcmd =3D &quot;/^msg nickserv IDENTIFY accessed&quot;;<=
br>
&gt; =A0 };<br>
&gt;<br>
&gt; Is there anything that I can do about that? Thanks in advance.<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Abhijeet Rastogi (shadyabhi)<br>
&gt; <a href=3D"http://blog.abhijeetr.com/" target=3D"_blank">http://blog.a=
bhijeetr.com</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D=
"ltr">Regards,<br>Abhijeet Rastogi (shadyabhi)<br><a href=3D"http://blog.ab=
hijeetr.com/" target=3D"_blank">http://blog.abhijeetr.com</a></div>
</div>
</blockquote></div><br></div></div></div></div></blockquote></div><br><br c=
lear=3D"all"><br>-- <br><div dir=3D"ltr">Regards,<br>Abhijeet Rastogi (shad=
yabhi)<br><a href=3D"http://blog.abhijeetr.com" target=3D"_blank">http://bl=
og.abhijeetr.com</a></div>


</div>

--14dae9d251468b5ea704dd0af76a--