Saying first letter of actor's name.

In a nutshell, I'm wondering if it's possible to have the game say only the first letter of an actor's name.

Such as, if the actor's name is Jeff, the call could refer to the actor as simply J.
$game_actors[id].name.chars.first
$game_actors[id].name.chars.first
Wait, would this be a message box though?
to use that in a message box, you will need to store that to a game variable first.

in Control Variables, goto the script box part and put in the code.

$game_actors[id].name.chars.firstthen in the message box you can use \v[variable_number] to display the shortened name initial.

edit:

If you mean to add an extra box showing the name, you can check this tutorial on how to create window with text using eventing only.

http://forums.rpgmakerweb.com/index.php?/topic/38406-eventing-tutorial-for-creating-custom-text-windows/
to use that in a message box, you will need to store that to a game variable first.

in Control Variables, goto the script box part and put in the code.

$game_actors[id].name.chars.firstthen in the message box you can use \v[variable_number] to display the shortened name initial.

edit:

If you mean to add an extra box showing the name, you can check this tutorial on how to create window with text using eventing only.

http://forums.rpgmakerweb.com/index.php?/topic/38406-eventing-tutorial-for-creating-custom-text-windows/
Okay, thank you. 🙂
You're welcome!

Original thread: https://forums.rpgmakerweb.com/threads/saying-first-letter-of-actors-name.48960/