From: marpis
If there were some constants that are now variables and you'd like to keep them as constants, you could have them both and set up
Msi_Something_var := MSI_SOMETHING_CONST;
somewhere?
Somehow related to the thread I believe :rolleyes:
They're technically still constants, but now the represent the indexes of the array. So the user would set them like this if they're not using the form.
procedure DeclareSettings();
begin
MSI_SetupVars[SETUP_DEBUG_SMART] := True; // Debugs things onto SMART (may cause lag)
MSI_SetupVars[SETUP_SAVE_DEBUG] := True; // Save's the debug box text to a file
MSI_SetupVars[SETUP_HUMAN_BREAK] := True; // Take more human like breaks
MSI_SetupVars[SETUP_SWITCH_WORLDS] := True; // Switch worlds when switching players or after breaks
MSI_SetupVars[SETUP_BREAK_TIME] := 15; // Single player only - how long to break for (in minutes)
MSI_SetupVars[SETUP_DEBUG_LEVEL] := 10; // The lower the number, the less the script will debug
MSI_SetupVars[SETUP_ANTIBAN_WAIT] := 15000; // Minimum time to wait between antibans (in milliseconds 1000ms = 1s)
MSI_SetupVars[SETUP_RANDOMS_WAIT] := 10000; // Minimum time to wait between randoms checks
MSI_SetupVars[SETUP_STATS_ID] := ''; // Temporary stats ID (2 digit number)
MSI_SetupVars[SETUP_STATS_PASS] := ''; // Temporary stats password
end;