Subj : Re: load() search paths...
To : Access Denied
From : Deuce
Date : Fri Aug 07 2009 10:43 am
Re: Re: load() search paths...
By: Access Denied to Tracker1 on Thu Aug 06 2009 10:15 pm
> I actually like it the way it is, except the fact that there's a few things
> that aren't moddable via text.dat that are only in the source code, but
> they're STRINGS that should be able to be modified and saved, and not
> hopefully lost by the next update from CVS.
Part of the problem is that when I want to have different files load()ed as
part of a script outside of the exec directory (such as with TradeWars), I need
to create the absolute path to the file on every load. Rather than saying:
load("users.js");
I need to say:
load(path_to_door+"/users.js");
Which is kind of silly.
---
Synchronet - Jump on the Web 0.2 bandwagon!
---
� Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)