I've got script like this (it does open fibula doors):
if topitem($wptx, $wpty,$wptz).id == 1631 and islocation(1) then
useitemon(2968, 0, ground(32190, 32432, 8))
waitping() waitping()
end
if topitem($wptx, $wpty,$wptz).id == 1632 and islocation(1) then
useitem(1632, ground(32190, 32432, 8))
waitping() waitping()
end
But in some situations it causes weird loop bug which stops my character completely until someone opens the door or I'll right click on another node/action in cavebot.
Is it to complex? Is there any easier script to open doors with key?What can cause the problem?