EggsLayer

Returns layer number 0x17 - Skirt(Kilt)

Pascal

function EggsLayer():Byte

Python

EggsLayer()

Example 1:

if ObjAtLayer(EggsLayer) > 0 then 
  AddToSystemJournal('Skirt ID:' + IntToStr(ObjAtLayer(EggsLayer)));

Example 2:

{If there is something on a layer, then remove}
if ObjAtLayer(EggsLayer) <> 0 then
  begin
    unequip(EggsLayer);
    wait(1000);
  end;