Ransom
11-09-2006, 12:40 AM
wow this really takes me back to noobie land. It's been awhile since i've scripted but i was wanting an autotyper....just something simple so i could sit and watch for people to trade with me without having to peck away at the keyboard. after reading through the SRL manual thing i came up with this.
program New;
{.include SRL\SRL\core\Text.scar}
procedure Talk;
begin
sendtext('Buying all coal 100ea');
end;
begin
repeat
talk;
wait(2000);
until(1=2)
end.
the error i get is : Line 112: [Error] (114:34): Unknown identifier 'UpChars' in script C:\Program Files\SCAR 2.03\includes\SRL\SRL\core\Text.scar
So i'm assuming (without opening the include) that it needs an include to run... or i'm just not including the right files...or i'm retarded....
Now i know this script is not up to standards but it took me no more than 2 minutes. I just want to get this to work soon. Any help would be appreciated. Or at least point me in the right direction.
Thanks!
Ransom
program New;
{.include SRL\SRL\core\Text.scar}
procedure Talk;
begin
sendtext('Buying all coal 100ea');
end;
begin
repeat
talk;
wait(2000);
until(1=2)
end.
the error i get is : Line 112: [Error] (114:34): Unknown identifier 'UpChars' in script C:\Program Files\SCAR 2.03\includes\SRL\SRL\core\Text.scar
So i'm assuming (without opening the include) that it needs an include to run... or i'm just not including the right files...or i'm retarded....
Now i know this script is not up to standards but it took me no more than 2 minutes. I just want to get this to work soon. Any help would be appreciated. Or at least point me in the right direction.
Thanks!
Ransom