If VersionLessThan 0.9.13 Message "This mod must be installed by OBMM version 0.9.13 or later to prevent script errors." FatalErrorEndIfSetVar InstallFiles 1If InstallFiles = 1CopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dll" "OBSE\\Plugins\OBSE_Elys_Pluggy.dll" trueCopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dlx" "OBSE\\Plugins\OBSE_Elys_Pluggy.dlx" trueEndIf
This syntax is not correct according to http://hammondslegacy.com/obmm/tools_obmm_anolyzer.asp It keeps telling me the function is not defined.
I Tried:
For Count 1 2 CopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dll" "OBSE\\Plugins\OBSE_Elys_Pluggy.dll" true CopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dlx" "OBSE\\Plugins\OBSE_Elys_Pluggy.dlx" trueEndFor
All I want to do is copy two files from one folder to another folder. To me the below example is all I should have to do.
If VersionLessThan 0.9.13 Message "This mod must be installed by OBMM version 0.9.13 or later to prevent script errors." FatalErrorEndIfCopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dll" "OBSE\\Plugins\OBSE_Elys_Pluggy.dll" trueCopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dlx" "OBSE\\Plugins\OBSE_Elys_Pluggy.dlx" true
However that's not right either. What is a better resource of syntax. I skimmed over a few posts but all the entries for CopyDataFile state
CopyDataFile[RecurringSubdirectories]
So then my syntax should be right. Why is my command to copy file here being treated an an undefined function when it's in the list of commands for the script file?
Or Pascal-ish? LOL!!!
Procedure Install; CopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dll" "OBSE\\Plugins\OBSE_Elys_Pluggy.dll" true CopyDataFile "00 Core Files\OBSE_Elys_Pluggy.dlx" "OBSE\\Plugins\OBSE_Elys_Pluggy.dlx" trueEnd;