Found
http://forums.rpgmakerweb.com/index.php?/topic/25061-how-to-force-the-battle-log-to-display-certain-messages/
Okay first, add this scriptlet.
class Scene_Battle < Scene_Base
attr_accessor:log_window
end
Then to force things, it kinda depends? Here's how I did it though. I made a custom formula but let it be called through a method.
Example:
class Game_Battler < Game_BattlerBase
#---------------------------------------------------------------------------
# Ralph's Stale Bread (#if (b.id==5 || b.id==7); b.tp+=20; b.hp+=50; else; 20; end)
#----------------------------------------------------------------------------
def bread(a,b)
if b.id.to_i == 5 || b.id.to_i == 7
b.tp+=20
if SceneManager.scene.is_a?(Scene_Battle) #This is to add custom battle log
SceneManager.scene.log_window.add_text(b.name + " gained 20TP")
SceneManager.scene.log_window.wait
end
return 50
else
if SceneManager.scene.is_a?(Scene_Battle)
SceneManager.scene.log_window.wait
end
return 20
end
end
end #End of Class
then I put this in the formula box of the item stale bread:
b.bread(a,b)
You could probably use:
SceneManager.scene.log_window.add_text("Insert custom text here")
SceneManager.scene.log_window.wait
If you want it to clear make sure to use this.
SceneManager.scene.log_window.wait_and_clear
Hope this helps.