The Lord Ahmed
07-13-2007, 04:04 PM
HI,
I need some help with my first script,
It comes up with all these errors,
Program AutoTalker;
{.Include SRL/SRL.scar}
Const
Username = 'user';
BuyYews = True; // R u Buying Yews , If Not Buying Yews, Proceed To Line 7.
Price = 310; //Price You Want To Sell Yews Ea (only for use with yews)
StyleOfText = 'Wave';// wave, scroll, etc etc.
ColorOfText = 'Red';// Red, Cyan, Purple etc etc.
CustomText = 'Text'; //If Not Buying Yews, Type Your Own text Here
//removed begin
Procedure Talk;
Begin
If (BuyYews=True) then
wait(4000+random(300))
typsend(inttostr(StyleOfText)+ inttostr(ColorOfText),'Buying All Yews'+ inttostr(Price) +'ea.'+ inttostr(username))
End Else
wait(4000+random(300))
typesend(inttostr(StyleOfText)+ inttostr(ColorOfText)+ inttostr(CustomText)
End;
Begin
repeat
Talk
until(false);
end.
It says ::
Failed when compiling
Line 20: [Error] (14469:1): Invalid number of parameters in script C:\Documents......
I cant see any extra perimetrs that arent meant to be there??
So can Any1 Help me Out ! :confused: im confused
I need some help with my first script,
It comes up with all these errors,
Program AutoTalker;
{.Include SRL/SRL.scar}
Const
Username = 'user';
BuyYews = True; // R u Buying Yews , If Not Buying Yews, Proceed To Line 7.
Price = 310; //Price You Want To Sell Yews Ea (only for use with yews)
StyleOfText = 'Wave';// wave, scroll, etc etc.
ColorOfText = 'Red';// Red, Cyan, Purple etc etc.
CustomText = 'Text'; //If Not Buying Yews, Type Your Own text Here
//removed begin
Procedure Talk;
Begin
If (BuyYews=True) then
wait(4000+random(300))
typsend(inttostr(StyleOfText)+ inttostr(ColorOfText),'Buying All Yews'+ inttostr(Price) +'ea.'+ inttostr(username))
End Else
wait(4000+random(300))
typesend(inttostr(StyleOfText)+ inttostr(ColorOfText)+ inttostr(CustomText)
End;
Begin
repeat
Talk
until(false);
end.
It says ::
Failed when compiling
Line 20: [Error] (14469:1): Invalid number of parameters in script C:\Documents......
I cant see any extra perimetrs that arent meant to be there??
So can Any1 Help me Out ! :confused: im confused