Subj : Re: Scripts don't work outside of default DIR
To   : Gary Ailes
From : g00r00
Date : Wed Jun 02 2021 03:54 pm

GA>   (original)
GA>   rcspath:=AddSlash(CfgMPEPath+'tdta')
GA>   (my fix)
GA>   rcspath:='D:\mystic\themes\default\scripts\rcstdta\'
GA>
GA> The top line is what does not work for me but apparently
GA> works for everyone else.   Scripts that point to a directory outside of

CfgMPEPath is the current theme's script directory.  That isn't always where the script runs from through if your theme inherits scripts for the default or a different theme.  Its also looking in directory named 'tdta' for some reason, not rcstdta.

To get the directory where the script is running from you would get it like this:

RunningFrom := JustPath(ProgName);

--- Mystic BBS v1.12 A47 2021/05/28 (Windows/32)
* Origin: Sector 7 | Mystic WHQ (1:129/215)