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:
Does anyone know what I did wrong?
Thanks for reading.
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
Thanks for reading.