Pretty much what the title says.
To detail my use case a bit more in steps;
1. I've created a custom weapon.
2. When entering specific areas or entering a 'trigger box', it would play a sound file, in this case someone speaking to you, without there being an actual NPC (Imagine Meridia's Beacon when you pick up the item for the first time). The requirement for the sound file to play, would be that you must have the weapon either in your inventory or your hand.
My main question is if someone could provide me a general idea or tutorial that I could look at to try and do something like this.
Thank you for any and all answers