Staff can anyone tell me what is wrong in this action?
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local wall = getThingfromPos({x=890, y=487, z=5, stackpos=1})
if item.actionid == 8000 and item.itemid == 1945 and wall.itemid == 1497 then...