How to Change Actor's name without Name Input Scene? (script command)

I would like to change the actor's name in the game. Without Name Input Scene.

I tried and found this: $gameActors.actor(1).name() = "Change Name" but it wont work.

It would be very useful to make the game change the name of a few characters.

Thanks for the help
The Name Input scene uses the function setName, so you could try $gameActors.actor(1).setName("New name").
or you could use the event command to change the name - not name input processing but "Change Name" on the first page
Thank you both, I needed the script command in order to change it with some systems I am working on. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-actors-name-without-name-input-scene-script-command.122093/