Making a one time gift event

So I want to make an event where an NPC you talk to hands you a gift. You walk up to him, he gives you an item or weapon or something, and then the text shown changes when you talk to him again and he says something different and doesn't give anything else other than more text saying something like "have a good day".

That's about it.
That is basic eventing - you need to use switches and multiple event pages.

I suggest you follow the link in my signature and work through the tutorial there until you have the basics of game development. That will prevent you from asking such basic questions (and you can't work on your game if you have to post a question every five minutes ;-)

Original thread: https://forums.rpgmakerweb.com/threads/making-a-one-time-gift-event.41558/