purp
2012-09-03 20:09:53
Ok so the goal for my script is to right click caskets, specifically pick up the casket, and then open them in the inventory. Here is what I have so far..pretty bad but it's my first script :x
Please teach me how to make it pick up a specific item..I can't use color because rune weapons have the same colors. Thank you very much.
procedure FightGiants;
var
x, y:Integer;
begin
if FindColorSpiralTolerance(x, y, 873071, 1, 0, 733, 464, 1) then
begin
MoveMouse(x,y);
Wait(1000);
ClickMouse(x, y, mouse_Right);
Wait(1000);
end;
end;
begin
FightGiants;
repeat
FightGiants;
until(false);
end. Please teach me how to make it pick up a specific item..I can't use color because rune weapons have the same colors. Thank you very much.