[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: 2 Questions for the server guru's <G>
On Tue, 27 Oct 1998, Matthew Sullivan wrote:
> > > >NICK <nick> <distance> <u> <h> <irc-server-token> <usermodes> :<realname>
> > > >
> > > >The irc-server-token is taken from the SERVER command which looks like
> > > >this:
> > > >
> > > >:<originator> SERVER <server> <distance> <token> :<text>
> > > >
> > > >The ":<originator>" and "<token>" fields aren't there for the first
> > > >SERVER-line you get on a new link.
> >
> > except that I was wrong.. it's the distance you haven't got.. the token is
> > there of course.
Thus the first line is:
SERVER <server> <token> :<text>
> We seem to be at cross purposes, either that or I am just thick... ;-)
Maybe :-)
> On connect I issue:
>
> PASS ........
> SERVER <server name> <number> :text
>
> The number is it distance or token? If it is distance, no problem, if it is token (as
> i think you corrected above) how do I select a valid token? Do i just pick a number?
Yes. Any number you use internally.
> Does the 'uplink' tell me what my token is?
No, you normally introduce yourself as '1', but that's up to you I guess.
-- Robert Martin-Legène / Null ! robert@xxxxxxxxxxxx