Convert Code: Eval




This script adds a new convert code to your project called "eval". You can use this to evaluate arbitrary formulas inside your show text commands.


Get it at Hime Works!


Note that this script is no different from assigning a value to a variable and then using the \v convert code, except you can type the formula straight into your message. I have not thought of a situation where you could not achieve the same effect with variables.
Note that this script is no different from assigning a value to a variable and then using the \v convert code, except you can type the formula straight into your message. I have not thought of a situation where you could not achieve the same effect with variables.
Well, nice for people who don't realize that they can put any value inside a game variable... and also nice for at least having the code directly inside the text command... 
It is just nicer to not have to assign variables sometimes. I'm almost always for changing 2 lines of code into 1 line 🙂

Original thread: https://forums.rpgmakerweb.com/threads/convert-code-eval.20315/