Returns Promise<-2 | 0 | 1>
A promise that resolves to:
1
if the form was successfully shown and processed.
0
if the form was canceled by the user.
-2
if an error occurred during the process.
The function performs the following steps:
- Checks if ultra security mode is enabled and verifies the player's permission to access the settings.
- Constructs a form with multiple text fields for various script API codes.
- Displays the form to the player and processes the input values.
- Updates the dynamic properties of the world based on the input values.
Evaluates and displays the auto script settings form to the specified entity.