One-time tip event after loading

Hi all!

In my game, the player can only save inside their house, and I'm looking for a way for a random tip to appear whenever a player loads a saved game.
I can obviously put an autorun event in the house that displays a random tip and then 'erase event', but this would happen every time the player entered that map, which I don't want.
Is there a way of having the tip appear only after loading?

thanks in advance!
Try this (untested)
Ruby:
module R2_LOAD_TIP
  TIP = 1   # switch to turn on.
end
class Scene_Load < Scene_File
  alias r2_on_load_success_tip  on_load_success
  def on_load_success
    r2_on_load_success_tip
    $game_switches[R2_LOAD_TIP::TIP] = true
  end
end
then in the house do a check for if the switch is on, do the tip and turn the switch off.
Hi. thanks for the reply.

I put this in Materials, and nothing happens. Is this the right place for it?

EDIT: I'm an idiot.

It works perfectly! Thanks! This might be the first time I've got sent a piece of script that actually works first time.

Original thread: https://forums.rpgmakerweb.com/threads/one-time-tip-event-after-loading.133420/