Subj : Re: load() search paths... To : Tracker1 From : Deuce Date : Fri Aug 07 2009 10:26 am Re: Re: load() search paths... By: Tracker1 to Deuce on Wed Aug 05 2009 08:59 pm > I would think having an ../scripts/ directory along side of exec would be > appropriate, perhaps modify/remove the scfg setting for a mods dir... as a > base script path, where relative script paths are loaded from as a base, > followed by a search list as you suggested... > > ../scripts/{input} > ../scripts/mods/{input} > ../mods/{input} > ../scripts/std/{input} > ../exec/{input} The question then becomes when it's appropriate to place a file in scripts and when it belongs in exec. My outline was basically that load() would check a set of directories in order, but exec() and friends would *only* look in mods and exec. --- Synchronet - Jump on the Web 0.2 bandwagon! --- þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!) .