Name Input Processing Common Event Issue

Hello,
I tried to follow Archeia's tutorial on how to ban certain strings in Name Input Processing, but I accidentally ended up banning all strings instead. Obviously this isn't what I intended and I wonder what I did wrong.
Here is the code I used:
Code:
◆Label:START
◆Name Input Processing:Player, 16 characters
◆If:Script:/Flowey/i.exec($gameActors.actor(ID).name())
  ◆
:Else
  ◆If:Script:/Toriel/i.exec($gameActors.actor(ID).name())
    ◆
  :Else
    ◆If:Script:/Sans/i.exec($gameActors.actor(ID).name())
      ◆
    :Else
      ◆If:Script:/Papyrus/i.exec($gameActors.actor(ID).name())
        ◆
      :Else
        ◆If:Script:/Undyne/i.exec($gameActors.actor(ID).name())
          ◆
        :Else
          ◆If:Script:/Alphys/i.exec($gameActors.actor(ID).name())
            ◆
          :Else
            ◆If:Script:/Mettaton/i.exec($gameActors.actor(ID).name())
              ◆
            :Else
              ◆If:Script:/Asgore/i.exec($gameActors.actor(ID).name())
                ◆
              :Else
                ◆If:Script:/Napstablook/i.exec($gameActors.actor(ID).name())
                  ◆
                :Else
                  ◆If:Script:/Doggo/i.exec($gameActors.actor(ID).name())
                    ◆
                  :Else
                    ◆If:Script:/Dogamy/i.exec($gameActors.actor(ID).name())
                      ◆
                    :Else
                      ◆If:Script:/Dogaressa/i.exec($gameActors.actor(ID).name())
                        ◆
                      :Else
                        ◆If:Script:/Greater Dog/i.exec($gameActors.actor(ID).name())
                          ◆
                        :Else
                          ◆If:Script:/Glyde/i.exec($gameActors.actor(ID).name())
                            ◆
                          :Else
                            ◆If:Script:/Mad Dummy/i.exec($gameActors.actor(ID).name())
                              ◆
                            :Else
                              ◆If:Script:/Royal Guard/i.exec($gameActors.actor(ID).name())
                                ◆
                              :Else
                                ◆If:Script:/Muffet/i.exec($gameActors.actor(ID).name())
                                  ◆
                                :Else
                                  ◆If:Script:/So Sorry/i.exec($gameActors.actor(ID).name())
                                    ◆
                                  :Else
                                    ◆If:Script:/Grillby/i.exec($gameActors.actor(ID).name())
                                      ◆
                                    :Else
                                      ◆If:Script:/Gerson/i.exec($gameActors.actor(ID).name())
                                        ◆
                                      :Else
                                        ◆If:Script:/Temmie/i.exec($gameActors.actor(ID).name())
                                          ◆
                                        :Else
                                          ◆If:Script:/Bratty/i.exec($gameActors.actor(ID).name())
                                            ◆
                                          :Else
                                            ◆If:Script:/Catty/i.exec($gameActors.actor(ID).name())
                                              ◆
                                            :Else
                                              ◆If:Script:/Burgerpants/i.exec($gameActors.actor(ID).name())
                                                ◆
                                              :Else
                                                ◆Jump to Label:VALID
                                                ◆
                                              :End
                                              ◆
                                            :End
                                            ◆
                                          :End
                                          ◆
                                        :End
                                        ◆
                                      :End
                                      ◆
                                    :End
                                    ◆
                                  :End
                                  ◆
                                :End
                                ◆
                              :End
                              ◆
                            :End
                            ◆
                          :End
                          ◆
                        :End
                        ◆
                      :End
                      ◆
                    :End
                    ◆
                  :End
                  ◆
                :End
                ◆
              :End
              ◆
            :End
            ◆
          :End
          ◆
        :End
        ◆
      :End
      ◆
    :End
    ◆
  :End
  ◆
:End
◆Text:None, None, Window, Bottom
:    :* That name is already taken.
◆Jump to Label:START
◆Label:VALID
Does anyone know what I did wrong?
Thanks for reading.
You have each check looking at "actor(ID)" - there's no such thing. You need to replace the letters ID with the ID...the number it shows in your database...of the actor whose name you're changing. See how the tutorial you linked to says "actor(1)"?
You have each check looking at "actor(ID)" - there's no such thing. You need to replace the letters ID with the ID...the number it shows in your database...of the actor whose name you're changing. See how the tutorial you linked to says "actor(1)"?
My bad. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/name-input-processing-common-event-issue.135262/