sisi certo che ricordo :slight_smile: mmm potresti provare a fare una cosa del genere:

local testo = nil

items["frighev"] = {"Foglio A Righe Vuoto","Qui Puoi Scrivere Quello Che Vuoi!!",function(args)
    local choices = {}
    local idname = args[1]
    
    choices["Scrivi"] = {function(player,choice,mod)
      local user_id = vRP.getUserId(player)
      if user_id ~= nil then
        --play_scrivi()
        vRP.prompt(player, "Cosa Vuoi Scrivere ? ", "", function(player,rtext)
          if vRP.tryGetInventoryItem(user_id, "pennab", 1, true) then 
            if vRP.tryGetInventoryItem(user_id, idname, 1, true) then 
              testo = rtext 
              vRP.giveInventoryItem(user_id, "frighe", 1, true)
              --vRPclient.stopAnim(player,{true}) -- upper
              --vRPclient.stopAnim(player,{false}) -- full
              vRP.closeMenu(player)
            end
          else 
            vRPclient.notify(player,{"~r~Non Hai La Penna!!!"})
          end
        end)
      end
    end}
  
    return choices
  end,0}
  
  items["frighe"] = {"Foglie A Righe","Un Foglio In Cui C'è Scritto Qualcosa", function(args)
  
  local choices = {}
  local idname = args[1]
  
    choices["Leggi"] = {function(player,choice,mod)
      local user_id = vRP.getUserId(player)
      if user_id ~= nil then
        --play_scrivi()
        vRP.prompt(player, "Messaggio: ", testo, function(player)
        end)
      end
    end}
  
    return choices
  end,0}

pero’ non ho veramente idea se questa cosa possa funzionare o no :smiley: