doesn't work this is the error:
[Warning - Event::checkScript] Can not load script: scripts/other/doors.lua
data/actions/scripts/other/doors.lua:20: 'end' expected (to close 'if' at line 3) near 'if'
this is my script door
function onUse(player, item, fromPosition, target, toPosition, isHotkey)...