public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVTemplate String (${[JavaScript Literal]} in a text message)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Template String (${[JavaScript Literal]} in a text message)
  • Original author: hajimehoshi
  • Original date: November 3, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/template-string-javascript-literal-in-a-text-message.49118/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Hi all, I've created a 'Template String' plugin. Source: https://github.com/hajimehoshi/rpgmmv/blob/master/HajimeHoshi_TemplateString.js Screen Shot 1 (editor):

Archived First Post

Hi all,

I've created a 'Template String' plugin.

Source: https://github.com/hajimehoshi/rpgmmv/blob/master/HajimeHoshi_TemplateString.js

Screen Shot 1 (editor):

[IMG]https://i.gyazo.com/975ae1ac124b0a308c6613dfb2a4fc07.png[/IMG]

Screen Shot 2 (result):

[IMG]https://i.gyazo.com/641ec82e0131d32ebcd044116ff4032c.png[/IMG]

You can use ${[JavaScript literal]} at a text message. Template Strings are evaluated ahead of resolving escape characters (like \N[...]).

 

This template string is NOT compatible with ES6 template literal. For example, in this template string, braces ('{' and '}') must be paired, but ES6 doesn't require that.

 

Enjoy!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar