Recently I found that this command can also be used to check for file types as well. This is done by using an asterix, followed by the file extension, as the argument. Example below:
Code: Select all
fileManager.fileExists *.rfa
This command could be useful to verify if a client is not running illegal files (cheats). You can modify the code to check if the main directory and any folder in it contains illegal DLLs or EXEs:
Code: Select all
fileManager.fileExists *.dll
fileManager.fileExists *.exe