Subj : a small javascript... To : Nightfox From : Internetking Date : Sun Apr 10 2011 02:35 am Re: a small javascript... By: Nightfox to Internetking on Sat Apr 09 2011 06:59 pm > > I would like to know how to put in newuser.js a small part where it disp > > text file for user to read and agree like for example it display bbsrules > > in c:/slbbs/text then it will ask you if you agree to it .. if yes then g > > step if no then disconnect > As always, when doing any programming or software development, the first > resource I use is the programming documentation.. The documentation for > Synchronet's JavaScript object model is located here: > http://www.synchro.net/docs/jsobjs.html okay i read it that leads another question about that link... > If you are not familiar with JavaScript, I would suggest first reading throu > a JavaScript tutorial and trying to write some of your own little scripts to > work with it a little so you can get more familiar with it. which is the best books, and/or website to read about it? > For the first part of what you want to do, to display a text file, you might > able to use console.printfile(), or maybe bbs.menu(). For the second part, > ask the user a yes/no question, you could use console.yeseno() (if the defau > answer is to be "yes") or console.noyes() (if the default answer is to be > "no"). ok another question about this.... i found something on that website link you gave above.... hangupvoidbbs.hangup() 3.10 hangup (disconnect) immediately so... how will that work... if person choose no then it will run above and if person say yes then it will go next steps in the newuser.js file.... thanks again.... --- þ Synchronet þ The Whitehouse of Sex - whitehouse.hulds.com - the kinky bbs!!! .