I am guiding myself through this thread, and since im not good at lua, im trying to understand it. What I did was add the code in lib to create the function, then create a revscript action
local Outfitss = Action()
function Outfitss.onUse(player, item, fromPosition, target, toPosition...