Subj : irc.js
To   : Bill Mcgarrity
From : echicken
Date : Fri Apr 19 2013 10:41 am

 Re: irc.js
 By: Bill Mcgarrity to Duece on Fri Apr 19 2013 01:15:32

BM> to work out some code that will allow users to enter their own nick rather
BM> than waiting till they get on the server and use the nick command. (I'm
BM> not up on javascript coding or I'd try it myself). I noticed the default
BM> is the first 7 characters of the board's name.... but if you add a blank
BM> entry box, say for a maximum of 32 characters (I run UnrealIRCD with
BM> extended nicks) the users can type in whatever.  If there's no entry then
BM> it can default back to the way you have it now.

At a glance, it appears to set the nick to the user's chat handle (see line 30
of irc.js.)  Is it possible that your BBS isn't prompting new users to set a
chat handle?  Maybe it defaults to the BBS name if the chat handle is empty.

A quick workaround for you might be copying irc.js to your mods directory, and
editing the line that currently says:

var nick = user.handle;

To:

var nick = user.alias;

echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

---
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com