Common Event Message Codes and Custom Macros

Hi,

I'm looking for a snippet that can help call a common event during a message via an escape code.

For example placing a code like \comev(x) would run common event number X upon reaching that point in the message.

Also, if there's a script that lets you set up your own macros. I know yanfly has some for MV, but I haven't run across any in VX ACE.

Thanks for the help!
that is not something that can be done with a simple snippet, but if I remember correctly modern algebras advanced text system script has options for that.

MA's ATS was a great alternative to yanfly's message system script in Ace and included options that are missing from yanfly, but unfortunately as far as I know it was never ported to newer engines and too many users since then focused only on yanfly's options.

that is not something that can be done with a simple snippet, but if I remember correctly modern algebras advanced text system script has options for that.

MA's ATS was a great alternative to yanfly's message system script in Ace and included options that are missing from yanfly, but unfortunately as far as I know it was never ported to newer engines and too many users since then focused only on yanfly's options.

I think his VX version has common event support, but I couldn’t find it in the VXA version.

Might have to tinker around with it.

just seeing if anyone had any other suggestions in the meantime
but I couldn’t find it in the VXA version.
It's in the special message codes but a bit different than a direct call:
# \#{code} - This will evaluate code. So, if you know scipting, you can place
# any code there and it will draw whatever is returned by it. For instance:
# \#{$game_system.save_count} would draw the number of times the player has
# saved the current game.
any script code of course includes the code needed to run a common event, you just have to look for the script equivalent of the call
It's in the special message codes but a bit different than a direct call:
# \#{code} - This will evaluate code. So, if you know scipting, you can place
# any code there and it will draw whatever is returned by it. For instance:
# \#{$game_system.save_count} would draw the number of times the player has
# saved the current game.
any script code of course includes the code needed to run a common event, you just have to look for the script equivalent of the call
Ah, I wasn’t sure it could be used like that. Thanks for the heads up!

ill let you know how it goes

the code for that is
`$game_temp.reserve_common_event(ID)I believe

Original thread: https://forums.rpgmakerweb.com/threads/common-event-message-codes-and-custom-macros.132811/