problem with loop event

Hey everybody !

A simple question for you i guess ^^ I am starting a quest system where sometime the player have to collect some ressources.In this screenshot you can see the code without the add off the item(usually a "add+1 item" is under the number check and the event is in action press bouton not parallel).There is my problem:
By collecting the ressource pressing action near a flower ,a tree etc everything is fine,the message for the number of item possesed is correctly displayed and when the player reach the correct amount too.
What i need is this message who said the number pop when the player find the ressource in a chest for exemple and not only on the ressource itself.
I tried to put in parallel in this purpose(with and without self switch) but the the message "you have a have found 1 miracle herb" pop again and again everytime i close it.Some one have an idea about what is wrong in this event?
our problem is using a loop. parallel processes always run, sixty times per second and you will get that.

your message needs to be moved into the same event that adds the item. And you should NOT use parallel or loop at all.
Ok so i have to modify every chest manually^^ I was trying to avoid this but seems impossible ^^
In this case what "automatic" is for?
ty for your advice 😉
theoretically it is possible to do the message by parallel process, but that requires a much nore advanced logic checking for changes in the number of items instead of the item number itself, and have waits to skip unneccessary lag.
that is only really viable if we're talking about hundreds of the same items, not the one or two the original sample was about.
AH i see ,so possible but not efficient at all ^^
I stay with the first solution so ,its bette to prevent any lag or issue for this detail^^
If you hold the Shift Key on your Keyboard, than you can mark multiple Eventcommands to Copy,
thatway you can paste those Eventcommand Blocks into other Events. You dont need to Copy Paste each single command by itself.
Ah yesi know that but i have to duplicata these command to each chest ^^Could be long but as long its working its good for me =p^^

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-loop-event.112413/