i need a persistent to open the door when it is closed and if not targeting
i try this :
auto(800, 1000)
if topitem(32698,31235,11).id == 5735 then
useitem(5735,32698,31235,11)
wait(20000)
end
but dont work fine, it only opens the door sometimes :C