If the topic is already there, I just hook it up and put it into a logical whole.
We enter the directory:
data/events/script/player.lua
then we look for a function:
Player:onMoveItem
It might look like this:
function Player:onMoveItem(item, count, fromPosition, toPosition, fromCylinder...