Thank you for all of the information everyone. This NPC was going to be for a store where you pickup the item and talk to the shopkeeper to buy it. The wasthrown part was so that if you threw it it would go back to x y on the shelf. I also had it so that the shopkeeper would choose a random scolding to give you when you tried to walk out with his item without paying.
I'm now thinking that a clickable store and buy button would be much better, as I have already made clickable things work offline. Quickly, is there anything I should know about mouse scripting as per using it in online mode?