Okay first, add this scriptlet.
class Scene_Battle < Scene_Base attr_accessor:log_windowendThen 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,

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 endend #End of Classthen I put this in the formula box of the item stale bread:
b.bread(a,

You could probably use:
SceneManager.scene.log_window.add_text("Insert custom text here")
SceneManager.scene.log_window.wait
in a script call. I have yet to test.
edit:
Okay I tried it out. It works.
If you want it to clear make sure to use this.
Code:
SceneManager.scene.log_window.wait_and_clear