Disarm

Disarms both (right and left) hands

Iterates through the layers of both hands and calling UnEquip for these layers.

If char disconnected, or the movement of the object from hand to the backpack failed - will return False.

Pascal

function Disarm : Boolean;

Python

def Disarm() -> dictionary

Example Pascal

if ObjAtLayer(RhandLayer)<>0 then
begin
  Disarm;
  wait(1000);
end;