You are on page 1of 18

begin

Keyboard.Hold keys("{<tab>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<tab>}")
Macro.Pause("1000")
if Color.At coordinate is (RGB)("26", "106", "164", "825", "66")
begin
if Color.At coordinate is (RGB)("78", "75", "43", "819", "83")
// fortified digi
begin loop()
Keyboard.Hold keys("{<tab>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<tab>}")
Macro.Pause("1000")
if Color.At coordinate is (RGB)("78", "75", "43", "819
", "83")
// persistent fortified digi
begin
Macro.Restart("no")
end
end
Function.Execute("Anti-Macro Protector")
Function.Execute("istirahat")
Function.Execute("istirahat2")
Function.Execute("istirahat3")
if Color.At coordinate is (RGB)("78", "75", "43", "819", "83")
// fortified digi
begin
Macro.Restart("yes")
end
Macro.Pause("1000")
Function.Execute("seleksi")
end
end
function("serang")
// Here , you write down same x co ordinate and y co ordinate from part 1
if Color.At coordinate is (RGB)("26", "106", "164", "825", "66")
and
Color.At coordinate is (RGB)("15", "241", "255", "111", "68")
and
Color.At coordinate is not (RGB)("163", "155", "97", "823", "69")
begin loop()
Function.Execute("evolusi")
Macro.Pause("100")
if Color.At coordinate is (RGB)("0", "76", "166", "633", "758")
and
Color.At coordinate is (RGB)("184", "47", "36", "187", "126"
)
begin loop()
Function.Execute("istirahat")
Function.Execute("istirahat2")
Function.Execute("Human Pause")
Function.Execute("Anti-Macro Protector")
if Color.At coordinate is (RGB)("243", "57", "40", "70
4", "59")
begin
Keyboard.Hold keys("{<f2>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f2>}")

Function.Execute("Anti-Macro Protector")
end
Keyboard.Hold keys("1")
Function.Execute("Human Pause")
Keyboard.Release keys("1")
Function.Execute("Human Pause")
Keyboard.Hold keys("8")
Function.Execute("Human Pause")
Keyboard.Release keys("8")
Function.Execute("Human Pause")
Function.Execute("Anti-Macro Protector")
if Color.At coordinate is (RGB)("26", "106", "164", "8
25", "66")
begin
Keyboard.Hold keys("{<f2>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f2>}")
Function.Execute("Anti-Macro Protector")
end
Function.Execute("Human Pause")
if Color.At coordinate is (RGB)("243", "57", "40", "61
0", "59")
begin
Keyboard.Hold keys("{<f1>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f1>}")
Function.Execute("Anti-Macro Protector")
end
Function.Execute("Human Pause")
Function.Execute("Heal")
Function.Execute("Loot")
Function.Execute("istirahat")
Function.Execute("istirahat2")
Function.Execute("Anti-Macro Protector")
// Here , set RGB for last bits of HP bar of target dig
imon so that it switches faster.
if Color.At coordinate is not (RGB)("26", "106", "164"
, "825", "66")
begin
Macro.Restart("no")
end
end
Function.Execute("istirahat")
Function.Execute("istirahat2")
Function.Execute("istirahat3")
end
function
function("Human Pause")
begin
Variable.Set random number("HumanTime", "100", "300")
Macro.Pause("{HumanTime}")
end
function
function("Loot")
begin
Keyboard.Hold keys("4")
Function.Execute("Human Pause")
Keyboard.Release keys("4")

end
function
function("seleksi")
begin
Function.Execute("jangan serang")
Function.Execute("ok serang")
end
function
function("ok serang")
// dokugumon
if Color.At coordinate is (RGB)("248", "173", "2", "801", "47")
begin
Function.Execute("serang")
end
// mushroom
if Color.At coordinate is (RGB)("99", "54", "133", "792", "44")
begin
Function.Execute("serang")
end
// no atribute
if Color.At coordinate is (RGB)("214", "214", "228", "586", "58")
begin
Function.Execute("serang")
end
// tentomon
if Color.At coordinate is (RGB)("92", "99", "105", "774", "58")
begin
Function.Execute("serang")
end
// kiwimon
if Color.At coordinate is (RGB)("123", "65", "19", "801", "64")
begin
Function.Execute("serang")
end
// veggiemon
if Color.At coordinate is (RGB)("166", "50", "52", "801", "64")
begin
Function.Execute("serang")
end
// dokunemon
if Color.At coordinate is (RGB)("94", "170", "70", "801", "47")
begin
Function.Execute("serang")
end
// kunemon
if Color.At coordinate is (RGB)("250", "231", "122", "801", "47")
begin
Function.Execute("serang")
end
// archnemoin
if Color.At coordinate is (RGB)("125", "158", "177", "801", "47")
begin
Function.Execute("serang")
end
// giromon
if Color.At coordinate is (RGB)("63", "20", "4", "801", "47")
begin
Function.Execute("serang")

end
// metalseadramon
if Color.At coordinate is (RGB)("218", "197", "151", "801", "47")
begin
Function.Execute("serang")
end
function
function("jangan serang")
// dokugumon
// if Color.At coordinate is not (RGB)("248", "173", "2", "801", "47")
//
begin
//
Macro.Restart("yes")
//
end
// fortified digi
if Color.At coordinate is (RGB)("56", "109", "148", "819", "83")
begin
Macro.Pause("1000")
Macro.Restart("yes")
end
// mushroom
//
if Color.At coordinate is not (RGB)("99", "54", "133", "792", "44")
//
begin
//
Macro.Restart("yes")
//
end
// no atribute
if Color.At coordinate is (RGB)("214", "214", "228", "586", "58")
begin
Macro.Pause("1000")
Macro.Restart("yes")
end
// tentomon
// if Color.At coordinate is not (RGB)("92", "99", "105", "774", "58")
//
begin
//
Macro.Restart("yes")
//
end
// kiwimon
// if Color.At coordinate is not (RGB)("123", "65", "19", "801", "64")
//
begin
//
Macro.Restart("yes")
//
end
// veggiemon
// if Color.At coordinate is not (RGB)("166", "50", "52", "801", "64")
//
begin
//
Macro.Restart("yes")
//
end
// dokunemon
// if Color.At coordinate is not (RGB)("94", "170", "70", "801", "47")
//
begin
//
Macro.Restart("yes")
//
end
// kunemon
//
if Color.At coordinate is not (RGB)("250", "231", "122", "801", "47
")
//
begin
//
Macro.Restart("yes")
//
end
// archnemoin
// if Color.At coordinate is not (RGB)("125", "158", "177", "801", "47")
//
begin

//
Macro.Restart("yes")
//
end
// giromon
// if Color.At coordinate is not (RGB)("63", "20", "4", "801", "47")
//
begin
//
Macro.Restart("yes")
//
end
// metalseadramon
//
if Color.At coordinate is not (RGB)("218", "197", "151", "801", "47
")
//
//
//
function

begin
Macro.Restart("yes")
end

function("evolusi")
// bearrnon
if Color.At coordinate is (RGB)("84", "70", "140", "407", "758")
begin
Keyboard.Hold keys("q")
Function.Execute("Human Pause")
Keyboard.Release keys("q")
end
// renamon
if Color.At coordinate is (RGB)("167", "165", "149", "402", "774")
begin
Keyboard.Hold keys("e")
Function.Execute("Human Pause")
Keyboard.Release keys("e")
end
// xvmon
if Color.At coordinate is (RGB)("27", "141", "193", "407", "768")
and
Color.At coordinate is (RGB)("15", "241", "255", "221", "68")
begin
Keyboard.Hold keys("e")
Function.Execute("Human Pause")
Keyboard.Release keys("e")
Macro.Pause("9000")
if Color.At coordinate is (RGB)("0", "78", "167", "406", "760")
and
Color.At coordinate is (RGB)("0", "77", "166", "639", "759")
begin
Keyboard.Hold keys("z")
Function.Execute("Human Pause")
Keyboard.Release keys("z")
end
end
// gabumon
if Color.At coordinate is (RGB)("211", "213", "226", "413", "769")
and
Color.At coordinate is (RGB)("15", "241", "255", "221", "68")
begin
Keyboard.Hold keys("e")
Function.Execute("Human Pause")
Keyboard.Release keys("e")
end
// armadimon
if Color.At coordinate is (RGB)("206", "193", "39", "407", "762")
begin

Keyboard.Hold keys("q")
Function.Execute("Human Pause")
Keyboard.Release keys("q")
end
function
function("istirahat")
if Color.At coordinate is not (RGB)("184", "47", "36", "187", "126")
// hp digi
and
Color.At coordinate is not (RGB)("26", "106", "164", "825", "66")
// musuh
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Macro.Pause("30000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255"
, "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "2
41", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB
)("15", "241", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate i
s not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20
000")
if Color.At co
ordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro
.Pause("20000")
if C
olor.At coordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
begin

Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255"
, "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "2
41", "255", "221", "68")
begin
Macro.Pause("20000")
end
end
end
end
end
end
end
end
end
end
end
end
function
function("istirahat2")
if Color.At coordinate is not (RGB)("26", "106", "164", "825", "66")
// musuh
and
Color.At coordinate is not (RGB)("15", "241", "255", "111", "68")
// ds tamer
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Macro.Pause("30000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255"
, "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "2
41", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB
)("15", "241", "255", "221", "68")

begin
Macro.Pause("20000")
if Color.At coordinate i
s not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20
000")
if Color.At co
ordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro
.Pause("20000")
if C
olor.At coordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "241", "255"
, "221", "68")
begin
Macro.Pause("20000")
if Color.At coordinate is not (RGB)("15", "2
41", "255", "221", "68")
begin
Macro.Pause("20000")
end
end
end
end
end
end
end
end
end
end

end
end
function
function("istirahat3")
if Color.At coordinate is (RGB)("26", "106", "164", "825", "66")
// kordinat musuh
and
Color.At coordinate is not (RGB)("15", "241", "255", "111", "68")
// ds tamer
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Macro.Pause("24000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
and
Color.At coordinate is (RGB)("0", "76", "166", "459", "758")
begin
Macro.Pause("220000")
end
end
function
function("istirahat4")
if Color.At coordinate is (RGB)("26", "106", "164", "825", "66")
// kordinat musuh
and
Color.At coordinate is not (RGB)("15", "241", "255", "111", "68")
// ds tamer
and
Color.At coordinate is (RGB)("0", "76", "166", "459", "758")
// evo cek
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Macro.Pause("24000")
if Color.At coordinate is not (RGB)("15", "241", "255", "221", "
68")
and
Color.At coordinate is (RGB)("0", "76", "166", "459", "758")
begin
Macro.Pause("220000")
end
end
function
function("istirahat5")
if Color.At coordinate is not (RGB)("26", "106", "164", "825", "66")
// kordinat musuh (dalam keadaan idle)
and
Color.At coordinate is not (RGB)("15", "241", "255", "109", "68")
// ds tamer super low
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Macro.Pause("24000")

if Color.At coordinate is not (RGB)("15", "241", "255", "221", "


68")
and
Color.At coordinate is (RGB)("0", "76", "166", "459", "758")
begin
Macro.Pause("220000")
end
end
function
function("ceksum")
if Color.At coordinate is not (RGB)("0", "206", "220", "135", "66")
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Keyboard.Hold keys("d")
Keyboard.Press key("d")
Macro.Pause("60000")
end
function
function("ceksum2")
if Color.At coordinate is not (RGB)("0", "206", "220", "135", "66")
begin
Keyboard.Hold keys("d")
Function.Execute("Human Pause")
Keyboard.Release keys("d")
Keyboard.Hold keys("d")
Keyboard.Press key("d")
Macro.Pause("60000")
end
function
function("Heal")
// RGB for using item at F7 slot , i use this for hp disks
if Color.At coordinate is not (RGB)("216", "65", "54", "122", "128")
begin
Keyboard.Hold keys("{<f7>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f7>}")
end
// RGB for using item at 7 slot , i use this for hp food
if Color.At coordinate is not (RGB)("216", "65", "54", "120", "128")
begin
Keyboard.Hold keys("7")
Function.Execute("Human Pause")
Keyboard.Release keys("7")
end
function
function("Anti-Macro Protector")
begin
// Locate time progression bar and pick the (X,Y) coordinates of the
first point
if Color.Pixel pattern can be located on screen("207,173,0,5,0,207,17
3,0,0,5,199,163,7,0,5,236,192,32,0,5,253,241,50,0,5,255,217,12,-5,0,255,218,12,0
,-5,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "4")
begin
// Locate time progression bar and pick the (X,Y) coordinat

es of the first point


Color.Wait for and locate pixel pattern("207,173,0,5,0,207,1
73,0,0,5,199,163,7,0,5,236,192,32,0,5,253,241,50,0,5,255,217,12,-5,0,255,218,12,
0,-5,253,241,50,0,-5,235,192,32,0,-5,198,163,7", "4", "X", "Y")
// Set the X and Y axis at the face to identify
Variable.Evaluate (Math)("{X} + 22", "X1")
Variable.Evaluate (Math)("{X} + 33", "X2")
Variable.Evaluate (Math)("{X} + 44", "X3")
Variable.Evaluate (Math)("{Y} - 43", "Y1")
Variable.Evaluate (Math)("{Y} - 32", "Y2")
Variable.Evaluate (Math)("{Y} - 21", "Y3")
// Set the X and Y axis to locates each icon
Variable.Evaluate (Math)("{X} + 20", "Xicon1")
Variable.Evaluate (Math)("{X} + 70", "Xicon2")
Variable.Evaluate (Math)("{X} + 120", "Xicon3")
Variable.Evaluate (Math)("{X} + 170", "Xicon4")
Variable.Evaluate (Math)("{X} + 220", "Xicon5")
Variable.Evaluate (Math)("{Y} + 58", "Yrow1")
Variable.Evaluate (Math)("{Y} + 108", "Yrow2")
// Pick the RGB at 5 points on the picture to identify
Color.Get color at coordinate (RGB)("{X1}", "{Y1}", "R1", "G
1", "B1")
Color.Get color at coordinate (RGB)("{X2}", "{Y1}", "R2", "G
2", "B2")
Color.Get color at coordinate (RGB)("{X3}", "{Y1}", "R3", "G
3", "B3")
Color.Get color at coordinate (RGB)("{X1}", "{Y2}", "R4", "G
4", "B4")
Color.Get color at coordinate (RGB)("{X2}", "{Y2}", "R5", "G
5", "B5")
Color.Get color at coordinate (RGB)("{X3}", "{Y2}", "R6", "G
6", "B6")
Color.Get color at coordinate (RGB)("{X1}", "{Y3}", "R7", "G
7", "B7")
Color.Get color at coordinate (RGB)("{X2}", "{Y3}", "R8", "G
8", "B8")
Color.Get color at coordinate (RGB)("{X3}", "{Y3}", "R9", "G
9", "B9")
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 1 row
1
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G

7}", "{B7}", "5", "{Xicon1}", "{Yrow1}", "12")


and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon1}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon1}", "{Yrow1}", "12")
begin
Mouse.Move to coordinate("{Xicon1}", "{Yrow1}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon1}", "{Yrow1}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 2 row
1
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon2}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon2}", "{Yrow1}", "12")
begin
Mouse.Move to coordinate("{Xicon2}", "{Yrow1}")
Macro.Pause("3000")
Mouse.Click at coordinate("{Xicon2}", "{Yrow1}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 3 row
1
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon3}", "{Yrow1}", "12")
and

Color.Near coordinate is within (RGB range)("{R3}", "{G


3}", "{B3}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon3}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon3}", "{Yrow1}", "12")
begin
Mouse.Move to coordinate("{Xicon3}", "{Yrow1}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon3}", "{Yrow1}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 4 row
1
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon4}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon4}", "{Yrow1}", "12")
begin
Mouse.Move to coordinate("{Xicon4}", "{Yrow1}")

Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon4}", "{Yrow1}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 5 row
1
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon5}", "{Yrow1}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon5}", "{Yrow1}", "12")
begin
Mouse.Move to coordinate("{Xicon5}", "{Yrow1}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon5}", "{Yrow1}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 1 row
2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon1}", "{Yrow2}", "12")
and

Color.Near coordinate is within (RGB range)("{R5}", "{G


5}", "{B5}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon1}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon1}", "{Yrow2}", "12")
begin
Mouse.Move to coordinate("{Xicon1}", "{Yrow2}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon1}", "{Yrow2}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 2 row
2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon2}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon2}", "{Yrow2}", "12")
begin
Mouse.Move to coordinate("{Xicon2}", "{Yrow2}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon2}", "{Yrow2}", "
left")

end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 3 row
2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon3}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon3}", "{Yrow2}", "12")
begin
Mouse.Move to coordinate("{Xicon3}", "{Yrow2}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon3}", "{Yrow2}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 4 row
2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon4}", "{Yrow2}", "12")
and

Color.Near coordinate is within (RGB range)("{R7}", "{G


7}", "{B7}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon4}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon4}", "{Yrow2}", "12")
begin
Mouse.Move to coordinate("{Xicon4}", "{Yrow2}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon4}", "{Yrow2}", "
left")
end
Macro.Pause("100")
// If the RBG picked on the face matche with the icon 5 row
2
if Color.Near coordinate is within (RGB range)("{R1}", "{G1
}", "{B1}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R2}", "{G
2}", "{B2}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R3}", "{G
3}", "{B3}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R4}", "{G
4}", "{B4}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R5}", "{G
5}", "{B5}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R6}", "{G
6}", "{B6}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R7}", "{G
7}", "{B7}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R8}", "{G
8}", "{B8}", "5", "{Xicon5}", "{Yrow2}", "12")
and
Color.Near coordinate is within (RGB range)("{R9}", "{G
9}", "{B9}", "5", "{Xicon5}", "{Yrow2}", "12")
begin
Mouse.Move to coordinate("{Xicon5}", "{Yrow2}")
Macro.Pause("3000")
Mouse.Hold button("left")
Function.Execute("Human Pause")
Mouse.Release button("left")
Mouse.Click at coordinate("{Xicon5}", "{Yrow2}", "
left")
end
Macro.Pause("100")
end
end
function
// RGB for using item at f8 slot , i use this for ds disk

//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

if Color.At coordinate is not (RGB)("0", "206", "220", "142", "66")


begin
Keyboard.Hold keys("{<f8>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f8>}")
end
RGB for using item at 8 slot , i use this for tamer ds vitamin
if Color.At coordinate is not (RGB)("0", "206", "220", "116", "66")
begin
Keyboard.Hold keys("8")
Function.Execute("Human Pause")
Keyboard.Release keys("8")
end
if Color.At coordinate is (RGB)("26", "106", "164", "825", "66")
begin
Keyboard.Hold keys("{<escape>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<escape>}")
end

You might also like