fvault_touch

Syntax

stock fvault_touch(const vaultname[], const key[], const timestamp=-1)

Usage

vaultname
Vault name to look in
key
Key to update timestamp (if it doesn't exist, a blank value will be set)
timestamp
Unix Time to set for the key (-1 for current time)

Description

Updates the timestamp on a key located within the vault

Return

Returns 2 on new entry, 1 on success, 0 on failure for the key having a permanent timestamp