Subj : Re: console.getkeys To : Mortifis From : Digital Man Date : Wed Jul 24 2019 02:37 pm Re: Re: console.getkeys By: Mortifis to echicken on Wed Jul 24 2019 06:32 pm > > Re: console.getkeys > > By: Mortifis to All on Wed Jul 24 2019 16:39:55 > > > Mo> I have if(js.global.console) lookup = console.getkeys("HSOQ", > > Mo> lastuser); where lastuser=system.lastuser... if entering a number it > > Mo> throws a !Javascript TypeError: > > > That looks like it should work. What's the full text of the error? > > !JavaScript C:\sbbs\exec\dup_user_check.js line 277: TypeError: > lookup.toUpperC > ase is not a function > > I suspect that the toUpperCase() is not be supported by the > console.getkeys() function :-/ toUpperCase() is not supported by JavaScript Numbers. console.getkeys() can return a number or a string, depending on the user input. digital man Synchronet "Real Fact" #56: Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006). Norco, CA WX: 98.3øF, 30.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs .