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

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
209
Reaction score
36
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,510
Reaction score
992
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
209
Reaction score
36
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

I posted a funny gag reel of Drifty's video's here, but realized it was probably too riskay, so I deleted it, oops, lol.
Another room (actually other half of previous room)
What should I focus on today?

Character Portraits?
OR
Mapping?
Alright, I think I've got tired of VXAce. I guess I will jump to MV.
Just had a stranger SPRINT away from me in the grocery store. Talk about overreaction...
...I don't think I'm that ugly! ^-^

Forum statistics

Threads
95,512
Messages
929,735
Members
125,776
Latest member
FrogScholar
Top