This is getting alittle upsetting, becuase 90% of my errors are
Identifier Expected.... Whenever I try to make a procedure. It's soo irratatin.
Ill post examples.
This is getting alittle upsetting, becuase 90% of my errors are
Identifier Expected.... Whenever I try to make a procedure. It's soo irratatin.
Ill post examples.
identifier usally means u need another end;
Another awsome scripting forum! Check it out: www.Uberbroproductions.net/forums
TRY MY VARROCK ZAMMY MAGE CURSER/CONFUSER/WEAKENER! THE LINK IS BELOWhttp://www.srl-forums.com/forum/varr...56.html?t=6356![]()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
I'd get Indentifier expected for the "Procedure SendKeysHuman(text: string);"PHP Code:Program HumanType;
begin
Procedure SendKeysHuman(text:String);
Var
a1 : Integer;
Begin
a1:= 1;
Repeat
wait(random(220) + 15);
sendkeys(copy(text, a1, 1));
a1:= a1 + 1;
Until a1 > length(text);
End;
begin
SendKeysHuman('Test123');
end;
end.
- there should not be a begin after Program; first you do all the proc/func stuff
- you misplaced one end;
SCAR Code:Program HumanType;
Procedure SendKeysHuman(text:String);
Var
a1 : Integer;
Begin
a1:= 1;
Repeat
wait(random(220) + 15);
sendkeys(copy(text, a1, 1));
a1:= a1 + 1;
Until a1 > length(text);
End;
end;
begin
SendKeysHuman('Test123');
end.
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
Wow thanks,helps alot.
There are currently 1 users browsing this thread. (0 members and 1 guests)