Eli Escape Codes - Write almost anything from Database in message/windows!

8IO9Gue.png

Author: Hakuen Studio​

Introduction

We already know that we can type \V[ID] to get a variable value to show on the message window. So if we want to show custom information that's not covered by the default escape codes, we can simply put it on the variable and show it on the message. But, this process can be tedious sometimes.
So, this plugin adds new Escape codes that can show a lot of game information inside any window that processes escape characters.

Features
  • Add several escape codes to windows that can show a lot of game information!
How to use
Terms of Use
Sick! Thanks!
I still question how to display current HP/MP than showing max HP/MP since we can do in the variable, but how to do that with this plugin?
I still question how to display current HP/MP than showing max HP/MP since we can do in the variable, but how to do that with this plugin?
Oh, that's right. I didn't think about that. I will implement it in the next update 🙂
Updated first post.
Version 1.1.0 - 10/14/2020
- Add party codes.
- Add misc codes.
- Add eval codes.
- Add code to show array values from game variables.

@Jrrkein I have added the feature you requested. You can achieve it by using one of these codes:

\AcPrc[ActorId[ParamId]] - This is for current parameters.
0 --> Current Hp
1 --> Current Mp
2 --> Current Tp


or using party members:

\MbPrc[index[ParamId]] - This is for current parameters.
0 --> Current Hp
1 --> Current Mp
2 --> Current Tp


You can even replace Prc with Obj, and use the name of the param instead:
\AcObj[ActorId[_hp]]
\MbObj[index[_hp]]
Version 1.1.1 - 10/31/2020
- Fixed error to show battle codes.
- Fixed error on getting alive members.
- Fixed error with showing game title escape code. Somehow GMTLT was not working. Changed to TLT.
- Fixed an error when getting actor metadata with party member codes.
Version 2.0.1 - 04/12/2021
- Fixed an issue that some windows are not converting an escape character inside the \eval
Version 2.1.0 - 05/15/2021
- Added two new escape codes: Eval(new one) and conditional.

Added new info on the help file:

Now there are two new special escape codes, that needs a better explanation:

• The new Eval escape code​

I had to create a new one, because if you use the older like below, it will not properly eval the code:

\Eval[ $gameParty.members()[0].name() ]

Because there is another bracket character in the formula "[0]"

So now, you can use this one instead:
  • =|YourText|= - This will Eval the text between =| |=
Example:
  • =| $gameParty.members()[0].name() |=
NOTE²: The old one was not removed.

• The conditional message escape code:​

?{condition ? result1 : result2}? - This is a conditional message.

If the condition is true, then it will return result1. Otherwise, result 2.

Example:

?{$gameVariables.value(1) > 0 ? Is greater than zero : Is less than zero}?

If the variable 1 is higher than 0, it will return the message "Is greater than zero".

Otherwise, it will return the message "Is less than zero". The only thing you should know about these two is that you cannot use a formula together with an escape code. If you use it, the text will not convert properly:

?{$gameVariables.value(1) > 0 ? scriptCall \v[1] : scriptCall \i[34]}?

=|
scriptCall \i[24]|=
Version 2.2.0 - 05/17/2021
- Added four new escape codes to show custom parameter values through actor id or member index.
- Add the option to change the existing escape codes to your liking, via plugin parameters.

Screenshots
Spoiler
parameters.png
Version 3.0.0 - 08/12/2021
- Add description escape code for Items, Weapons, Armors, and Skills.
- Remove the Equip Codes plugin parameter and created Armor and Weapon escape codes parameter.
- Performance improvement.
- Need Eli Book 4.0.0 now.
Version 3.1.0 - 12/08/2021
- Add "SV" on the "Other" codes. It let you get values from self variables. Requires EliMZ Self Variables.
escape codes sv.JPG


Version 4.0.0 - 12/09/2021
- Changed the way escape codes with more than one argument are set on texts. Instead of following the pattern:
  • \AcCl[ActorId[ClassId]]
Now you must use that instead:
  • \AcCl[ActorId, ClassId]
Using comma instead of another [].
Version 5.0.0 is not compatible with my plugins that are below the 5.0.0 versions.

Version 5.0.1 - 02/08/2022

  • Fixed a behavior that was executing the function that converts escape characters more than it should. And that maybe could affect other plugin escape characters. But that is fixed now.
Version 5.0.0 - 02/05/2022
  • Updated terms of use.
Version 5.1.0 - 06/23/2022
  • Improved performance on creating plugin parameters and on evaluating Eval/Formula escape codes.
  • Fixed an issue that parallel events are not getting the proper event ID when using the escape code \SV that gets a self-variable value.
  • Merged MV and MZ in a single file. Now the same plugin file works for both engines.
  • Need Eli Book 5.3.0 now.
Version 5.1.1 - 08/28/2022
  • Fixed a crash when using conditional formulas escape code.
  • Updated help file.
  • Need Eli Book 5.4.0 now.

Version 5.1.2 - 11/11/2022​

  • Fixed a bug that the condition escape codes were removing all the spaces from the text results.

Original thread: https://forums.rpgmakerweb.com/threads/eli-escape-codes-write-almost-anything-from-database-in-message-windows.127702/