Script for adding Face Graphic

I'm using CSCA random loot plugin and when you open a chest a message pops up that says what you got.


The code in the plugin is:

MESSAGE = 'Found %dX \i[%d]%s\c[0]!'



I want to add a face graphic to the message, like you would if someone was talking, but I don't know how to do add that in.


Plug-in Link:


http://www.rpgmakercentral.com/topic/9179-csca-random-loot/
I've moved this thread to script request. Please be sure to post your threads in the correct forum next time. Thank you.



Please give a link to the script if you want an add-on to it. no one can help without that data.
I don't really want an add-on, just need to know the code for adding a face graphic.


Either way here is the plug-in.


http://www.rpgmakercentral.com/topic/9179-csca-random-loot/
I don't know the script itself, but I'm pretty sure that you can't simply add a bit of code - that message code is a programming text string that will never contain any pictures unless the script code itself is changed. Thos strings work differently than the regular show text window, and even for those it needs a script to implement a text code for pictures.
I found the code to add face images. Got everything working perfectly.


$game_message.face_name = 'Actor1'
$game_message.face_index = 0
$game_message.background = 0
$game_message.position = 0

Original thread: https://forums.rpgmakerweb.com/threads/script-for-adding-face-graphic.66638/