Well I thought to write up something that helps.
Main thread is here: https://villavu.com/forum/showthread.php?t=116686

First I have setup everything into 7zip file:
https://github.com/pp9999/MemReading/releases/tag/0.1

Download Simba64.7z and extract all of it somewhere and make shortcut.
Run "run as admin.bat" it installs mouse interception driver. It is needed to move mouse/keyboard.
When Smartscreen asks then choose more info and run.

Now open up Runescape 3 and login.

I made little skeleton script for tutorial.
Simba Code:
program Test;
{$loadlib MemoryError}

var
 x,y: Integer;

begin
wait(100);
SetupRSReading(True,' ',-1,0);
wait(100+random(1000));
repeat
wait(5200+random(5200));

until(false)
end.

Copy-paste it into Simba and save.
Add your character name into ' ',delete space, it uses name to find you.
Now run it. In few minutes it should show various debug info.


Now we add chicken killer part.
Look at upper row debug line there is NPC, we turn it on and there is all chicken ids.

Looks like chicken id is 41.
Now plan is to get script to attack them. We take skeleton script and add:
Simba Code:
program Test;
{$loadlib MemoryError}

var
 x,y: Integer;

begin
wait(100);
SetupRSReading(True,' ',-1,0);
wait(100+random(1000));
repeat
wait(500+random(2200));
FindNPCs1([41],1,10,0,0,[0,0],0,0,'Attack');
until(false)
end.

Line FindNPCs1 uses plugin function to find non player characters by id.
So [41] there is id, 1 how many ids. 10 is range how far to search them.

So now it kills them, maybe we add animation check to wait until it finishes combat?

Simba Code:
program Test;
{$loadlib MemoryError}

var
 x,y: Integer;

begin
wait(100);
SetupRSReading(True,' ',-1,0);
wait(100+random(1000));
repeat
wait(500+random(2200));
if (not CheckPAnim(100) )then
begin  
FindNPCs1([41],1,10,0,0,[0,0],0,0,'Attack');
end;
until(false)
end.

CheckPAnim(100) checks animation vs every 20 millisecond so 100*20. It does not let it go past it.

Now for looting. It slows considerably down but it can work.

Simba Code:
program Test;
{$loadlib MemoryError}

var
 x,y: Integer;

begin
wait(100);
SetupRSReading(True,' ',-1,0);
wait(100+random(1000));
repeat
wait(500+random(2200));
if (not CheckPAnim(100) )then
begin  
if (not FindGroundItems([314],1,6,0,[0,0],0,0,'Take')) then
begin
//wait(100+random(1000));
FindNPCs1([341],1,10,0,0,[0,0],0,0,'Attack');
end;
end;
until(false)
end.

Where 314 is item id. 1 how many ids in slot of [].
6 range.
And so on.
FindGroundItems have given priority over npc attacking, no attacking going on until there are no items on ground with that id.
And definitely add anchor later. Good luck.