Grihmm
01-04-2012, 07:52 AM
Well I updated to SRL5, and now when I try to compile my script it says this in my debug:
Compiling failed.
[Error] C:\Simba\Includes\SRL/SRL/misc/smart.simba(16:34): Semicolon (';') expected at line 15
Compiling failed.
Then it pops up a tab named smart with the first line of this highlighted:
procedure HoldMouse(x, y: Integer; button : integer);
begin
if button = mouse_left then
SmartHoldMousePlus(x,y,1) mouse
else if button = mouse_middle then
SmartHoldMousePlus(x,y,2)
else if button = mouse_right then
SmartHoldMousePlus(x,y,3)
else
raiseexception(ercustomerror,'Unknown mouse button in SmartHoldMousePlus');
end;
Compiling failed.
[Error] C:\Simba\Includes\SRL/SRL/misc/smart.simba(16:34): Semicolon (';') expected at line 15
Compiling failed.
Then it pops up a tab named smart with the first line of this highlighted:
procedure HoldMouse(x, y: Integer; button : integer);
begin
if button = mouse_left then
SmartHoldMousePlus(x,y,1) mouse
else if button = mouse_middle then
SmartHoldMousePlus(x,y,2)
else if button = mouse_right then
SmartHoldMousePlus(x,y,3)
else
raiseexception(ercustomerror,'Unknown mouse button in SmartHoldMousePlus');
end;