0% found this document useful (0 votes)
76 views4 pages

ElotrixX Leveling & Farming Script

The document describes macros for an automated gameplay loop. It includes macros to heal, use items from hotkeys, detect potential macro detection and disable them, and travel to escape detection. Key actions include getting RGB colors, pressing keys, comparing colors to RGB ranges, and executing functions with looping logic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views4 pages

ElotrixX Leveling & Farming Script

The document describes macros for an automated gameplay loop. It includes macros to heal, use items from hotkeys, detect potential macro detection and disable them, and travel to escape detection. Key actions include getting RGB colors, pressing keys, comparing colors to RGB ranges, and executing functions with looping logic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

begin

Window.Bring to front("DMO", "yes")


Macro.Pause("100")
Color.Get color at coordinate (RGB)("762", "55", "R", "G", "B")
Macro.Pause("100")
end
begin loop()
if Color.At coordinate is within (RGB range)("{R}", "{G}", "{B}", "3", "76
2", "55")
begin
Keyboard.Press key("1")
Keyboard.Press key("{<F1>}")
end
if Color.At coordinate is within (RGB range)("{R}", "{G}", "{B}", "3", "76
2", "55")
begin
Keyboard.Press key("1")
Keyboard.Press key("{<F2>}")
end
Keyboard.Press key("4")
if Color.At coordinate is not within (RGB range)("198", "60", "49", "3", "
573", "55")
or
Color.At coordinate is not within (RGB range)("{R}", "{G}", "{B}", "3"
, "762", "55")
begin
Keyboard.Press key("{<tab>}")
end
Function.Execute("Heal")
if Color.At coordinate is within (RGB range)("236", "192", "32", "3", "269
", "362")
begin
Function.Execute("Anti Macro")
end
Keyboard.Press key("4")
Macro.Read stopwatch("Movement", "seconds")
if Variable.Is greater than (Math)("seconds", "10000")
begin
if Color.At coordinate is not within (RGB range)("{R}", "{G}", "
{B}", "3", "762", "55")
begin
Function.Execute("Travel")
end
Macro.Restart stopwatch("Movement")
end
if Color.At coordinate is within (RGB range)("51", "51", "51", "0", "655",
"231")
begin
Keyboard.Press key("{<escape>}")
end
end
function("Heal")
// ////////////////DS Disk Slot 8
if Color.At coordinate is not within (RGB range)("198", "60", "49", "3", "
140", "127")
begin
Macro.Pause("10")
Keyboard.Press key("{<F6>}")
end
if Color.At coordinate is not within (RGB range)("28", "239", "255", "3",
"139", "143")
begin
Macro.Pause("10")
Keyboard.Press key("8")
end
// ////////////////Food/CC Slot 7
if Color.At coordinate is not within (RGB range)("216", "65", "54", "3", "
200", "128")
begin
Macro.Pause("10")
Keyboard.Press key("7")
end
if Color.At coordinate is not within (RGB range)("15", "241", "255", "3",
"144", "68")
begin
Macro.Pause("10")
Keyboard.Press key("{<F7>}")
end
function
function("Anti Macro")
begin
Macro.Pause("100")
Color.Get color at coordinate (RGB)("301", "321", "Macro1", "Macro2",
"Macro3")
Macro.Pause("100")
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "288", "411")
begin
Macro.Pause("100")
Mouse.Move to coordinate("288", "411")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "338", "411")
begin
Macro.Pause("100")
Mouse.Move to coordinate("338", "411")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "388", "411")
begin
Macro.Pause("100")
Mouse.Move to coordinate("388", "411")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "438", "411")
begin
Macro.Pause("100")
Mouse.Move to coordinate("438", "411")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "488", "411")
begin
Macro.Pause("100")
Mouse.Move to coordinate("488", "411")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "288", "461")
begin
Macro.Pause("100")
Mouse.Move to coordinate("288", "461")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "338", "461")
begin
Macro.Pause("100")
Mouse.Move to coordinate("338", "461")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "388", "461")
begin
Macro.Pause("100")
Mouse.Move to coordinate("388", "461")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "438", "461")
begin
Macro.Pause("100")
Mouse.Move to coordinate("438", "461")
Macro.Pause("100")
Mouse.Double click("Left")
end
if Color.At coordinate is within (RGB range)("{Macro1}", "{Macro2}",
"{Macro3}", "3", "488", "461")
begin
Macro.Pause("100")
Mouse.Move to coordinate("488", "461")
Macro.Pause("100")
Mouse.Double click("Left")
end
end
function
function("Travel")
begin
Keyboard.Hold keys("w")
Keyboard.Hold keys("a")
Macro.Pause("1500")
Keyboard.Release keys("w")
Keyboard.Release keys("a")
Keyboard.Hold keys("{<tab>}")
Macro.Pause("300")
Keyboard.Press key("{<tab>}")
Macro.Pause("200")
if Color.At coordinate is not within (RGB range)("192", "116", "5", "
3", "573", "75")
begin
Keyboard.Hold keys("a")
Keyboard.Hold keys("s")
Macro.Pause("1500")
Keyboard.Release keys("a")
Keyboard.Release keys("s")
Keyboard.Hold keys("{<tab>}")
Macro.Pause("300")
Keyboard.Press key("{<tab>}")
Macro.Pause("200")
if Color.At coordinate is not within (RGB range)("192", "11
6", "5", "3", "573", "75")
begin
Keyboard.Hold keys("d")
Keyboard.Hold keys("s")
Macro.Pause("1500")
Keyboard.Release keys("d")
Keyboard.Release keys("s")
Keyboard.Hold keys("{<tab>}")
Macro.Pause("300")
Keyboard.Press key("{<tab>}")
Macro.Pause("200")
if Color.At coordinate is not within (RGB range)(
"192", "116", "5", "3", "573", "75")
begin
Keyboard.Hold keys("w")
Keyboard.Hold keys("d")
Macro.Pause("1500")
Keyboard.Release keys("w")
Keyboard.Release keys("d")
Keyboard.Hold keys("{<tab>}")
Macro.Pause("300")
Keyboard.Press key("{<tab>}")
Macro.Pause("200")
end
end
end
end
function

You might also like