Checks if we have clicked the item in inventory and "activated" it
Where to use?
- In every trade where you have to combine items
-> firemaking (logs, matches)
-> crafting (needle, leather, etc)
-> herblore (potions, herbs)
-> ???
SCAR Code:function ItemActivated(Slot: Integer): Boolean;
var
X, Y: Integer;
B: TBox;
begin
B := InvBox(Slot);
Result := FindColor(X, Y, 16777215, B.X1, B.Y1, B.X2, B.Y2);
end;









Reply With Quote




