Common event Variable checker loop help

Hello once again fellow game makers,

Today im trying to figure out how i can make a common event that can repeatably check multipul variables and upon reaching the spot to put up a message for the player then go back to checking for the next variable number reached.

Example:

Variable [001]: Mining - 25
Jump to label: Mining 25
Variable [001]: Mining - 50
Jump to label: Mining 50
Variable [002]: Harvesting - 25
Jump to label: Harvesting 25

if Mining = 25 send message ( Mining has reached Level 25 )

Now my issue is, im not sure how to go about stopping it from repeating the level 25 mining message after it has already sent it, so im hoping someone might have a way on how to properly set this up without the use of multipul common event slots needing to be used up?
you can go by a self switch A and a conditional branch

if selfwitch A = ON
nothing here
else
if mining level >= 25
variable [001] = 25
text: has reach lv 25
selfswitch A is ON
end
end

now this check the condition for selfswitch A = ON, as long this switch
is OFF, it does the above, when it is OFF, it checks below one for the message.
you can replace the selfswitch by a mining switch for mining specific.
do self switches actually work when inside a common event? or does it act as a form of switch without taking up a switch spot?
By default self-switches are only defined for map events.
  • The Common Event command adds the commands from a common event into the current event. In that case, references to self-switches in the common event will actually reference the self-switches for the calling event.

  • If it's an Autorun/Parallel common event, use "normal" switches instead.
Alternative solution:

Instead of constantly checking if Mining = 25, why not create a "Mining Lvl Up" common event that you call every time you want to increase the Mining Level?

The Common Event would basically do this:
Mining = Mining + 1
If Mining = 25, say: "Mining has reached Level 25"
If Mining = 50, [...]

Or it could also looks like this instead:
Mining = Mining + 1
Say: "Mining has reached Level \v[mining]"
I second @Nolonar 's point. Please do not use a parallel process to display level up messages for a skill. You know when the skill's XP increases. So only then there could possibly be a skill level up. No need to harm you game's performance by checking every single frame of every single map if now the skill somehow leveled up.
(Ignore that rant if it is not what you are actually doing. To me it wasn't 100% clear from your posts. But I saw this method once used for a fishing skill tutorial and it triggered me something fierce).
@Nolonar thank you for pointing out something like that instead of making that extra piece, and thank you everyone else for your options and opinions, it helps alot!

Original thread: https://forums.rpgmakerweb.com/threads/common-event-variable-checker-loop-help.143266/