New Yanfly Eval Text Plugin. Getting an error...

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
231
Reaction score
38
First Language
English Spanish
Primarily Uses
Hi all!

Im trying this new plugin (http://yanfly.moe/2019/03/08/yep-181-message-eval-text-rpg-maker-mv/) but when I try the examples within the plug in, i get an error: Unexpected Token ILLEGAL.

The codes Im trying are:
\evalText<<[‘His’,’Her’,’Its’][\v[123]]>>
\evalText<<[‘Abel’,’Brandon’,’Chris’][$gameVariables.value(456)]>>

Any help would be appreciated.

EDIT: I found the problem, it appears there should be double quotes (") instead of single quotes, like this: \evalText<<["Abel","Brandon","Chris"][$gameVariables.value(456)]>>
 
Last edited:

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,525
Reaction score
1,007
First Language
EN
Primarily Uses
RMMV
Single quotes should be totally fine, I think it's failing for you because your cited examples use ‘ <-- opening and closing --> ’ single-quotes, rather than neutral ones --> '. Yanfly's site seems to have auto-formatted them, but the plugin help has the correct examples~
 

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
231
Reaction score
38
First Language
English Spanish
Primarily Uses
You are right! the quotes on the site are not neutral ones.
Thanks for the clarification. Now my brain can be at ease, couldnt catch why there will be a difference between single and double quotes.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

My spirit can be so easily wounded by most things that nobody thinks twice about. It may be not a big deal to you, but it means EVERYTHING to me!
I have to make a custom tree for my FSM game and I'm nervous I won't get it right.
Finally got the tablet picture! :LZSsmile:
Working hard on my Mode7 interiors in between calls at work!
A good idea rise a moment before falling asleep, and survive the second coffee the day next morning.

Forum statistics

Threads
97,918
Messages
947,871
Members
129,163
Latest member
Merglu
Top