Subj : a small javascript... To : Internetking From : Nightfox Date : Sat Apr 09 2011 06:59 pm Re: a small javascript... By: Internetking to All on Sat Apr 09 2011 11:43:00 > I would like to know how to put in newuser.js a small part where it display > text file for user to read and agree like for example it display bbsrules.tx > in c:/slbbs/text then it will ask you if you agree to it .. if yes then go n > 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 If you are not familiar with JavaScript, I would suggest first reading through 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. For the first part of what you want to do, to display a text file, you might be able to use console.printfile(), or maybe bbs.menu(). For the second part, to ask the user a yes/no question, you could use console.yeseno() (if the default answer is to be "yes") or console.noyes() (if the default answer is to be "no"). Nightfox --- þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com .