Plugin Command Eval – MV Plugin

      1 Comment on Plugin Command Eval – MV Plugin

This plugin allows developers to have JavaScript evals in all plugin commands by using a specific format when writing them.


Look at the code or download the Plugin:


Plugin Command Evals
SumRndmDde

This plugin allows developers to have JavaScript evals in all plugin
commands by using a specific format when writing them.

=======================================================================
How to Create Eval in Plugin Command
=======================================================================

To create an eval, you simply need to use ${…}
For example, Character Creator EX uses the plugin command:

OpenCharacterCreator [actorId]

Using this plugin command, you can open the character creator for actor ID 3
by using the following command:

OpenCharacterCreator 3

However, now you can also open it through an actor ID defined by a variable.
This will open the character creator based on the actor ID stored in
variable ID 5:

OpenCharacterCreator ${v[5]}

Alternatively, you can make the character creator open based on which actor
is in the leader of the party.

OpenCharacterCreator ${$gameParty.leader().actorId()}


Screenshot:

One thought on “Plugin Command Eval – MV Plugin

Leave a Reply

Your email address will not be published. Required fields are marked *