begin
Macro.Abort all other macros()
Keyboard.Press key("{<lwin>}d")
Mouse.Move to pixel pattern("246,116,7,0,-1,238,101,13,0,-3,248,121,0,-1,0,190,90,0,-3,0,147,121,42,-3,1,169,78,0,-1,1,235,117,3,0,1,226,100,15,0,2,254,172,84,5,4,255,132,0,4,0,254,117,24,2,-1,254,128,5,1,-2,255,132,0,-1,-5,214,80,0,-1,-1,218,82,0,-6,2,137,54,4,-1,2,242,126,31,0,3,254,142,22,1,0,254,135,8,3,-6,190,90,0,0,3,220,104,5,0,6,247,113,17,7,2,218,84,3,2,0,217,82,1,1,-5,254,122,15,0,-2,255,132,0,-1,0,255,132,0,-1,1,255,132,0,0,2,251,113,28,0,-1,254,122,15,0,-3,254,123,14,-2,-1,246,107,22,-5,5,254,128,5,-1,4,218,84,3,0,1,197,73,0,2,0,197,73,0,1,-6,255,132,0,0,-6,219,83,0,0,1,220,83,0,-2,5,255,132,0,5,0,254,126,7,1,0,254,122,15,0,-6,233,94,10,-1,-1,218,81,0,-1,0,212,79,0,-3,4,241,110,0,-1,5,254,117,24,3,0,254,117,24,1,0,254,117,24,1,-5,251,120,11,-2,-1,227,87,2,-6,5,255,132,0,-1,3,235,99,16,8,3,156,58,0,3,0,156,58,0,0,-1,197,73,0,-10,-9,232,119,24,-1,9,197,73,0,3,2,38,14,0,3,0,38,14,0,1,-3,218,84,3,0,-5,255,132,0,-1,-2,255,132,0,-3,0,255,132,0,-2,2,255,132,0,0,4,235,99,16,3,1,218,84,3,5,-1,235,99,16,0,-5,255,132,0,-2,-2,242,110,1,-5,2,254,131,0,0,7,197,73,0,4,0,197,73,0,1,0,197,73,0,-2,2,38,14,0,-2,1,76,67,44,-2,0,76,67,44,-4,0,76,67,44,-1,-1,42,19,3,1,-2,197,73,0,2,0,197,73,0,2,1,156,58,0,3,0,156,58,0", "0", "yes")
Mouse.Double click("Left")
Macro.Start stopwatch("timer")
while Window.Is not running("Maplestory", "no")
begin
Macro.Read stopwatch("timer", "dT")
if Variable.Is greater than (Math)("dT", "30000")
begin
Macro.Abort()
end
end
Window.Close("Maplestory", "no")
Macro.Pause("15000")
while Window.Is not running("Maplestory", "no")
begin
Macro.Do nothing()
end
Window.Bring to front("Maplestory", "no")
Window.Set location("Maplestory", "no", "10", "10")
while Color.At coordinate is (RGB)("0", "0", "0", "50", "50")
begin
Macro.Do nothing()
end
Mouse.Double click at coordinate("50", "50", "Left")
Macro.Pause("10000")
Macro.Execute new("Maplestory", "AutoLogin", "no")
end