Thank you both very much, I figured it out. I would also like to ask: Do you know of a script that would remove the faction skirt from creatures?
P.S. It would also be nice to know the delay command, so that a looped action would repeat every few seconds, for example.
First, you need to write the command SetObjectEnabled("object name", nil) - This is essential!
Next, enter the command SetMonsterSelectionType("object name", 0)
Added 30 seconds later
The delay command, as I understand it, is sleep(number).