Subj : load() search paths...
To   : Angus McLeod
From : Deuce
Date : Thu Aug 13 2009 06:10 pm

 Re: load() search paths...
 By: Angus McLeod to Deuce on Wed Aug 12 2009 11:24 pm

> Used to be that 3rd party add-ons (doors, etc) were put in their own
> directories under the /SBBS/XTRN directory.  With JS now offering another
> option for development of 3rd party add-ons, is it apropriate to install
> such add-ons under /SBBS/XTRN still?  And if so, should any change to the
> JS load() method cater to add-ons in that location?

I've been putting my JS stuff in xtrn, not sure if it's appropriate or not.
:-)

However, there are groups of functions and objects which are usefull in a
general way, but aren't used by Synchronet proper.  I've been dumping these
things into exec for now, but exec/load/doorkit would be my preference.

Also, I expect to add the directory that a scrip is loaded from to the
beginning of the search path.

---
Synchronet - Jump on the Web 0.2 bandwagon!

---
� Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)