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

Magusalfador

Veteran
Veteran
Joined
Jun 15, 2014
Messages
240
Reaction score
41
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
2,091
Reaction score
1,508
First Language
EN
Primarily Uses
RMMZ
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
240
Reaction score
41
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 Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top