2011-10-04, 09:42
Hello!
Please note that this script will not store input insim commands such as "!send 300 chucknorris", however it will show the output insim text such as "Ash sent 300€ to Chuck".
There can be many times where you may need to find some text which someone has typed within game in LFS. Now, you can either trail all through a replay which could take ages, or you could have your own chatlog which is stored locally as a txt/xls/doc file.
To create your own chatlog, navigate through windows to your LFS Directory.
Open up the following: LFS > data > script > autoexec.lfs
Your file should look similar to below:
To create your chatlog file, you will need to enter a new line into autoexec.lfs:
/log chatlog.txt
Then save the file, ensuring the file type is .lfs and not .txt!
Your autoexec.lfs file should now look like the following:
You can customize what file type the chatlog is saved as, by changing the command line to .txt/.xls/.doc etc.
Your chatlog should be found in your main LFS Directory. Please note that every time you re-open LFS, your chatlog will be erased and started again, so it will probably be a good idea to save the chatlogs with different names after each LFS session has been closed.
Enjoy!
Ash
Please note that this script will not store input insim commands such as "!send 300 chucknorris", however it will show the output insim text such as "Ash sent 300€ to Chuck".
There can be many times where you may need to find some text which someone has typed within game in LFS. Now, you can either trail all through a replay which could take ages, or you could have your own chatlog which is stored locally as a txt/xls/doc file.
To create your own chatlog, navigate through windows to your LFS Directory.
Open up the following: LFS > data > script > autoexec.lfs
Your file should look similar to below:
Code:
// This script is run when LFS reaches the main entry screen
// You can use it for initialisations, running scripts, etc.
To create your chatlog file, you will need to enter a new line into autoexec.lfs:
/log chatlog.txt
Then save the file, ensuring the file type is .lfs and not .txt!
Your autoexec.lfs file should now look like the following:
Code:
// This script is run when LFS reaches the main entry screen
// You can use it for initialisations, running scripts, etc.
/log chatlog.txt
You can customize what file type the chatlog is saved as, by changing the command line to .txt/.xls/.doc etc.
Your chatlog should be found in your main LFS Directory. Please note that every time you re-open LFS, your chatlog will be erased and started again, so it will probably be a good idea to save the chatlogs with different names after each LFS session has been closed.
Enjoy!
Ash