@Edit
found it in doc sample
leaving an example here if someone wants to use it.
set .@value,512; //your item id
mes "Item: ^nItemID^" + .@value; //Returns name from itemInfo.lua
[512] = {
unidentifiedDisplayName = "Applee",
unidentifiedResourceName = "»ç°ú",
unidentifiedDescriptionName = { "" },
identifiedDisplayName = "Fu*** beautiful apple", //<<--------- returns this name
identifiedResourceName = "»ç°ú",
identifiedDescriptionName = {
"A round, edible fruit that, when eaten once a day, keeps the doctor away.",
"________________________",
"^0000CCType:^000000 Restaurative",
"^0000CCHeal:^000000 16 ~ 22 HP",
"^0000CCWeight:^000000 2"
},
slotCount = 0,
ClassNum = 0,
costume = false
},