Hello,
I have a problem with a door action at Drakens, to enter drakens west.
The problem is that it sometimes just opens and closes the door and then goes back to a certain waypoint and then trys again, and same thing happend again. And sometimes it works perfectly.
So my question is, what should I do, so the script works perfectly every time, I cannot rely on that it does it sometimes?
Here is the action, whats wrong?
Would really appreciate if someone could help me?Code:--UseDoor wait(2000) if $attacked.id == 0 and (topitem(33104,31103,12).id == 11143 or topitem(33104,31103,12).id == 11143) then useitem(11143,33104,31103,12) wait(1000) end setsetting('Looting/Enabled', 'yes')
//makkaN^