Subj : Re: irc.js
To   : echicken
From : Bill Mcgarrity
Date : Fri Apr 19 2013 12:35 pm

-=> echicken wrote to Bill Mcgarrity <=-


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.

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

Right now the only options that get promped are the IRC server which defaults
to mine (I changed that) and the Channel, which I've defaulted to one other
than #Synchronet.  No prompt for a nick.

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

ec> var nick = user.handle;

ec> To:

ec> var nick = user.alias;

OK... I'll try that... thank you!!


Bill

Telnet: bbs.tequilamockingbirdonline.net
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
Radio: radio.tequilamockingbirdonline.net:8010/live


... Look TWICE.... Save a life.  Motorcycles are EVERYWHERE!!
--- MultiMail/Win32 v0.49
� Synchronet � TequilaMockingbird Online - TELNET: tequilamockingbirdonline.net