my code
Code:
begin
Window.Set location("The New Chapter | Gepard Shield 3.0 (^-_-^)", "yes", "0", "0")
Function.Execute("Attack")
Function.Execute("Tele")
Function.Execute("Loot4")
end
function("Attack")
if Color.Can be located on screen (RGB)("255", "255", "0", "0")
begin
Mouse.Click at color closest to coordinate (RGB)("255", "255", "0", "0", "150", "100", "left")
Mouse.Move to coordinate("231", "320")
// Function.Execute("H")
// Function.Execute("W")
// if Color.Pixel pattern can be located on screen("255,198,198,0,-1,255,198,198,0,2,255,198,198", "4")
Macro.Pause("1000")
if Color.Pixel pattern can be located on screen("255,255,0,13,-2,255,255,0,15,-1,255,255,0", "0")
begin loop()
Macro.Pause("200")
Function.Execute("H")
Function.Execute("Whisper")
Mouse.Move to coordinate("231", "320")
if Color.Pixel pattern can not be located on screen("255,198,198,0,-1,255,198,198,0,2,255,198,198", "4")
begin
Macro.Pause("300")
Function.Execute("B")
Function.Execute("A")
Function.Execute("Loot4")
Function.Execute("Tele")
Function.Execute("Profile")
Macro.Break from loop("yes")
end
end
end
function
function("Loot4")
begin
if Color.Can be located on screen (RGB)("0", "0", "255", "0")
begin loop()
Function.Execute("Profile")
Mouse.Click at color closest to coordinate (RGB)("0", "0", "255", "0", "381", "307", "left")
Macro.Pause("400")
Mouse.Move to coordinate("402", "382")
if Color.Can not be located on screen (RGB)("0", "0", "255", "0")
begin
Macro.Pause("700")
if Color.Can not be located on screen (RGB)("0", "0", "255", "0")
begin
Macro.Break from loop("yes")
end
end
end
end
function
function("Tele")
begin
if Color.Can not be located on screen (RGB)("255", "0", "0", "0")
begin
Keyboard.Press key("{<F5>}")
Macro.Pause("1000")
Keyboard.Press key("{<enter>}")
Macro.Pause("1000")
end
end
function
function("A")
begin
if Color.At coordinate is (RGB)("247", "247", "247", "591", "68")
begin
Keyboard.Press key("{<F3>}")
Macro.Pause("1200")
Mouse.Move to coordinate("405", "303")
Mouse.Click("left")
Macro.Pause("1000")
end
end
function
function("B")
begin
if Color.At coordinate is (RGB)("247", "247", "247", "591", "121")
begin
Keyboard.Press key("{<F1>}")
Macro.Pause("1000")
Mouse.Move to coordinate("405", "303")
Mouse.Click("left")
Macro.Pause("1000")
end
end
function
function("H")
begin
if Color.At coordinate is (RGB)("247", "247", "247", "108", "84")
begin
Keyboard.Press key("{<F5>}")
Macro.Pause("500")
Keyboard.Press key("{<enter>}")
Macro.Pause("1000")
Keyboard.Press key("{<F4>}")
Mouse.Move to coordinate("405", "303")
Macro.Pause("500")
Mouse.Click("left")
Macro.Pause("500")
end
end
function
function("Whisper")
begin
if Color.At coordinate is (RGB)("255", "255", "255", "18", "511")
begin
Keyboard.Press key(".")
Macro.Pause("300")
Keyboard.Press key(".")
Macro.Pause("300")
Keyboard.Press key("{<enter>}")
Macro.Pause("500")
Mouse.Move to coordinate("274", "513")
Macro.Pause("300")
Mouse.Click("left")
Keyboard.Press key("{<F5>}")
Macro.Pause("300")
Keyboard.Press key("{<Down>}")
Macro.Pause("300")
Keyboard.Press key("{<enter>}")
Macro.Pause("60000")
Keyboard.Press key("{<F6>}")
Macro.Pause("200")
Mouse.Move to coordinate("421", "224")
Macro.Pause("300")
Mouse.Click("left")
Macro.Pause("7000")
Keyboard.Press key("{<Down>}")
Macro.Pause("200")
Keyboard.Press key("{<enter>}")
Macro.Pause("6000")
Mouse.Move to coordinate("421", "224")
Macro.Pause("200")
Mouse.Click("left")
Macro.Pause("5000")
end
end
function