As a extension to what senseihitokiri said, you can also just "override" the use, eat and drink functions by making your own and then sticking a if check in there (and then use the CLI version of the command to actually execute it), probably the lazy mans method but meh.... (Personally my...