This command enables and disables (toggles) all AI. With AI disabled, all characters, mechanics, etc that are usually controlled by AI will stop running.
The syntax for the noai command is as follows:
Find below working examples of the noai command.
If AI is enabled (default), running the above command will disable it. Running the noai command when AI has already been disabled will toggle AI back on.