- Joined
- Aug 19, 2017
- Messages
- 18
- Reaction score
- 0
- First Language
- ITALIAN
- Primarily Uses
- RMMV
Hi everybody!
This is my first post in this Forum, I wanna specify that I'm Italian so my English is just like ad elementary baby... I'm so sorry about that
So, I'm going to present myself in another post later, now I'm in a big trouble (I'm sure you haven't understand what i asked from the title
): I need to create an Input event for the User and to compare with a list of variables that i've create. So if the Input string is like one of the variables from number 21 to number 40, that's ok, else no...
I've tryied to do it with a Name Input and a script that say
If ($gameActor.actor(4).name()=="\V[21]");
{
($gameSwitches.setValue(02, true);
}
And so I've create a conditional branch that say: If Switch 02 is ON, text "+100J!" else "wrong code!", but when I try to insert the Input Name HCI0501 (that is the 21 Variable value) the game says "Syntax Error"
So, what is the best solution for my needs? Mabye there's another way to have a list of password that I can compare with an Input?
Thanks for the support, if I've not write understandble things you just ask to my....
I'm so glad to be here in RPG MAKER WORLD!

ZEPHIRO
This is my first post in this Forum, I wanna specify that I'm Italian so my English is just like ad elementary baby... I'm so sorry about that
So, I'm going to present myself in another post later, now I'm in a big trouble (I'm sure you haven't understand what i asked from the title
I've tryied to do it with a Name Input and a script that say
If ($gameActor.actor(4).name()=="\V[21]");
{
($gameSwitches.setValue(02, true);
}
And so I've create a conditional branch that say: If Switch 02 is ON, text "+100J!" else "wrong code!", but when I try to insert the Input Name HCI0501 (that is the 21 Variable value) the game says "Syntax Error"
So, what is the best solution for my needs? Mabye there's another way to have a list of password that I can compare with an Input?
Thanks for the support, if I've not write understandble things you just ask to my....
I'm so glad to be here in RPG MAKER WORLD!
ZEPHIRO