Subj : weird js thing...?
To   : Nightfox
From : Digital Man
Date : Wed Sep 09 2009 09:41 am

 Re: weird js thing...?
 By: Nightfox to Esc on Mon Sep 07 2009 07:39 pm

>   Re: weird js thing...?
>   By: Esc to Nightfox on Mon Sep 07 2009 18:35:20
>
>  >  >  >  >  > bbs.menu.baja("setstr *.*" + "\r\n" + "file_list");
>  >  >  >
>  >  >  > To list files, try using this command instead:
>  >  >  > bbs.list_files();
>  >  >  >
>  >  > Yeah, I suppose I could take a look at that ;)  However, I got it to
>  >  > work issue was that windows 7 has ridiculous issues with letting
>  >  > programs laun other programs.  As such, it wasn't allowing synchronet
>  >  > to launch baja.ex WinXP, it works just fine.
>
> Ah, interesting.  Good to know you got it to work.
>
> By the way, your bbs.menu.baja command interested me, because I've also
> converted my command shell to JavaScript, but there was still one thing I
> had to keep in Baja: Letting the user configure their file scan pointer.
> The reason is that there doesn't seem to be an equivalent JavaScript
> function for that.

Use bbs.get_newscantime(), like so:

bbs.new_file_time = bbs.get_newscantime(bbs.new_file_time);

                                           digital man

Snapple "Real Fact" #23:
The San Francisco Cable cars are the only mobile national monument.

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net