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,558
Reaction score
1,032
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

The end is near. The end is near. The MV era will be passed and people will look the forum about new RPG maker all days. ;_;[Election day all over again] Let accept that you will probably not what you want completely.
C&C Remastered comes out tomorrow! Hyped! Already have it preinstalled on Steam.
Its ironic, how often a person can have something smart to say, when their arrogance is originating from an internal vacuum where emotional intelligence belongs.
Parallax mapping is time consuming...
Let's purchase th... WAIT! Just in time ehehehe.

Forum statistics

Threads
98,152
Messages
949,737
Members
129,438
Latest member
Tsuna976
Top