Heal MP only event?

Hey!
I'm pretty new to MV, and I was wondering if anyone of you could give me a tip about how can I create an event on an npc or object, so that it regenates/heals only the mp of all players, not the hp. I tried using the 'Change Mp' command in several ways, but was unable to get it to work. Also i've googled for scripts etc, but didn't find anything.

Thanks a lot!

-Eddie
Change MP is what you're after. If it's not working for you, you've done something wrong, so the only way we can help is if you show us a screenshot of your event. Make sure to include the full event window (not the desktop background, and don't clip parts of the window out) - Alt+PrintScreen is best for this, with no editing of the resulting image.

Also indicate if you have added any plugins, because they could change the default behaviour of these commands.
Moderator note: Um, the MV School is a tutorial game that's being made. Moving this to Support>Maker Specific>RPG Maker MV. In the future looking at the pinned topics will help you find the right place and give you useful information about posting in that section.
Thanks a lot for your reply. Got the courage to try something else.
Made a noobie mistake. I had put it on an autorun event, and it didn't work. But when I put it on a Treasure Chest, it worked perfectly. Sorry for putting this in the wrong section.

Yaay for my first post. Thanks guys!

Original thread: https://forums.rpgmakerweb.com/threads/heal-mp-only-event.86073/