cynicz
2012-06-28 19:36:29
ok my script is as follow and i keep getting the error "[Error] (1:1): Syntax error at line 0"
script is for soulsplit so dont mention about randomness and using smart etc :P
script is for soulsplit so dont mention about randomness and using smart etc :P
program SSAIO;
var
X, Y, count: Integer;
const
Command = ''; // Check Commands above
procedure MainLoop;
begin
case Lowercase(Command) of
'buybolts':
begin
repeat
MoveMouse(238, 269); //Buys Rune Bolts
Wait(100);
ClickMouse(238, 269, mouse_right);
Wait(100);
MoveMouse(267, 298);
ClickMouse(280, 298, mouse_left);
Wait(100);
IncEx(count, 10); // Prints Log
WriteLn('Bolts: ' + IntToStr(count));
until (IsKeyDown(114)); //pres F3 to stop
end;
'makebolts':
begin
repeat
MoveMouse(573, 232); // Attachs Bolt Tips
Wait(75);
ClickMouse(573, 232, mouse_right);
Wait(75);
MoveMouse(586, 259);
ClickMouse(586, 259, mouse_left);
Wait(75);
MoveMouse(622, 219);
Wait(75);
ClickMouse(622, 219, mouse_right);
Wait(75);
MoveMouse(613, 248);
ClickMouse(613, 248, mouse_left);
Wait(75);
IncEx(count, 15); // Prints Log
WriteLn('Bolts Made: ' + IntToStr(count));
until (IsKeyDown(114));
end;