home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
MODEM
/
TLXTW201.ZIP
/
TLXTWDIR.SLT
< prev
next >
Wrap
Text File
|
1994-03-10
|
1KB
|
44 lines
// tlxtwdir.slt
////////////////////////////////////////////////////////////////////////
main()
{
// Edit the below path to the directory where TLXTW Scripts are installed.
// Then start Telix with the "S" switch.
//
// Example:
//
// TELIX STLXTWDIR
//
// will load Telix and run the "S"cript TLXTWDIR.
//
// Or load Telix as you usually do, and assign this to a Function key,
// etc, so all you do is hit F1 (for example) to change script
// directories and load Trader.key. if you assign this to a function key
// then move this script to your normal script directory.
// Edit below
str tlxtw_dir[64] = "C:\Telix\Work\Slc\Slt\Tlxtw\"; //
// The above path is all you must edit.
// Must end with "\".
strcat( tlxtw_dir, "trader.key" );
if (keyload( tlxtw_dir ) > -1) {
printsc("^M^JTrader.key loaded^M^JScript directory: " );
fnstrip( tlxtw_dir, 12, _script_dir );
printsc( _script_dir );
printsc("^M^JAlt-F1 for Help");
printsc("^M^JAlt-H resets defaults.^M^J");
tlxtw_dir=_script_dir;
strcat(tlxtw_dir,"Tlxtw.cfg");
if(!filefind(tlxtw_dir,0)) call("config");
}
else {
printsc("^M^JError loading file " ); prints( tlxtw_dir );
}
return 1;
}
////////////////////////////////////////////////////////////////////////
// end of tlxtwdir.slt