Hi,
the macro is doing fine.. its just that it all happens after few hours of BEM running..
here's the code if you needed it.
Code:
if Color.At coordinate is (RGB)("36", "156", "214", "1719", "522")
begin loop()
Humanly.Click at coordinate("1612", "362", "left", "yes")
Macro.Pause("500")
Macro.Break from loop("yes")
end
if Color.At coordinate is (RGB)("72", "156", "23", "1565", "914")
begin loop()
Humanly.Click at coordinate("1565", "914", "left", "yes")
Macro.Pause("500")
Macro.Break from loop("yes")
end
if Color.At coordinate is not (RGB)("137", "214", "37", "160", "203")
begin
Keyboard.Hold keys("1")
Macro.Pause("50")
Keyboard.Release keys("1")
Macro.Pause("2000")
end
if Color.At coordinate is (RGB)("255", "255", "204", "1290", "377")
begin
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Macro.Pause("10000")
end
if Color.At coordinate is not (RGB)("146", "159", "194", "943", "919")
begin
macro.pause("1000")
Humanly.Click at coordinate("1276", "384", "left","yes")
Macro.Pause("500")
Macro.Break from loop("yes")
end
end
if Color.At coordinate is (RGB)("255", "255", "204", "1694", "585")
begin
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Macro.Pause("10000")
end
if Color.At coordinate is not (RGB)("146", "159", "194", "943", "919")
begin
macro.pause("1000")
Humanly.Click at coordinate("1682", "596", "left", "yes")
Macro.Pause("500")
Macro.Break from loop("yes")
end
end
if Color.At coordinate is (RGB)("237", "116", "87", "901", "518")
begin
macro.pause("1000")
Humanly.Click at coordinate("901", "518", "left", "yes")
Macro.Pause("500")
Macro.Break from loop("yes")
end
if Color.At coordinate is (RGB)("255", "255", "204", "1464", "568")
begin
Function.Execute("hunt")
end
if Color.Near coordinate is (RGB)("255", "210", "36", "1692", "433", "120")
begin
Function.Execute("hunt")
end
function("hunt")
begin
if Color.At coordinate is (RGB)("26", "171", "239", "1288", "376")
begin
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Macro.Pause("10000")
end
if Color.At coordinate is not (RGB)("146", "159", "194", "943", "919")
begin
macro.pause("1000")
end
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Macro.Pause("10000")
end
if Color.At coordinate is not (RGB)("146", "159", "194", "943", "919")
begin
macro.pause("1000")
end
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Macro.Pause("10000")
end
if Color.At coordinate is (RGB)("146", "159", "194", "943", "919")
begin
Keyboard.Hold keys("1")
Macro.Pause("1000")
Keyboard.Release keys("1")
Macro.Pause("1000")
end
if Color.At coordinate is not (RGB)("60", "87", "140", "572", "274")
begin
Keyboard.Hold keys("{<tab>}")
Macro.Pause("500")
Keyboard.Release keys("{<tab>}")
Macro.Pause("4000")
end
end
end
function