Subj : Javascript Door To : Digital Man From : Corey Date : Fri Mar 26 2010 02:49 pm Re: Javascript Door By: Digital Man to Corey on Fri Mar 26 2010 10:22 am > Re: Javascript Door > By: Corey to Nightfox on Fri Mar 26 2010 07:59 am > > > Re: Javascript Door > > By: Nightfox to Rassilon on Fri Mar 26 2010 07:30 am > > > > > Re: Javascript Door > > > By: Rassilon to All on Thu Mar 25 2010 23:37:00 > > > > > > > I was just trying to add a javascript door & I seem to have run int > > > > a sn I can't get the javascript to run. Synchronet just pauses for > > > > second & returns to the prompt. > > > > > > To execute a JavaScript door, you need to start the command line with > > > ?. example, for Deuce's FS editor: > > > ?fseditor.js %f > > > > > > > Is it even possible to write a door in javascript or do I need to u > > > > baj C++ or something? > > > > > > Yes, doors can be written in JavaScript, although they tend to be > > > Synchronet-specific doors. Synchronet comes with at least one > > > Synchronet do (tw2), and things like Deuce's FS editor and SlyEdit are > > > written in JavaScri > > > Nightfox > > > > > > > so how would you run a door from the js menu like classic_shell.js? > > bbs.exec_xtrn("code") is the most correct way to run any "door" from a shell > regardless of what language the door is written in. Alternatively, you could > use load() or bbs.exec(), but I dont' recommend it. > > digital man > > Snapple "Real Fact" #71: > There is a town called "Big Ugly" in West Virginia. > ah, ok great. I config it properly in scfg and just call it by the name I gave it? sounds easy. thanks as always. Caput meum major podice meo. This message has ended, go in peace... --- þ Synchronet þ Three Stooges Gentlemens Club - Las Vegas, Nv .