Subj : Re: a small javascript... To : Digital Man From : Internetking Date : Tue Apr 12 2011 06:20 am On Mon, 11 Apr 2011, Digital Man wrote: > Date: Mon, 11 Apr 2011 16:22:00 -0700 > From: Digital Man > To: Internetking > Newsgroups: DOVE-Net.Synchronet_JavaScript > Subject: a small javascript... > > > Re: a small javascript... > By: Internetking to All on Sat Apr 09 2011 11:43 am > > > > > Hello all... > > > > I would like to know how to put in newuser.js a small part where it > > display a text file for user to read and agree like for example it display > > bbsrules.txt in c:/slbbs/text then it will ask you if you agree to it .. if > > yes then go next step if no then disconnect > > Here's an example (untested): > > console.printfile("c:/slbbs/text/bbsrules.txt"); > if(console.noyes("Do you agree to the BBS rules")) > bbs.hangup(); Okay it seems newuser.js is not the file i want... i want it to be read before the regstration is actually saved to the BBS database... how can this be done before that so will not be a waste of time deleting people who did not agree to it.... --- þ Synchronet þ The Whitehouse of Sex - whitehouse.hulds.com - the kinky bbs!!! .