SRL Archive - First Scripts

0uto Talker - With extream anti ban =)


yettti

2007-04-10 08:49:28

just made mi first script tested it for a bit but not ages check it out
its an auto talker, ive tested it for a bit but not ages. well enough with the talk… here it is… attached!

plz post any problems ya have wid it or any things i could add.


cheat well…

—yettti—

neG

2007-04-13 19:31:18

Looks pretty nice man,
One big thing you need to work on is standards.

For Example, you have.
procedure LookForTrade;
begin
if(SomeoneTrades=True) then
begin
writeln('Someones trading, Stop the script!')
end
end;
procedure LookInBank;
begin
if(Bankl=True) then
begin
FindBank(Bank);
if(PinScreen=True) then
begin
InPin(Pin);
end
if(BankScreen=True) then
begin
FixBank;
CloseBank;
end
end
end;

Its much better and easier to read if you standardize it like this.

procedure LookForTrade;
begin
if(SomeoneTrades=True) then
begin
writeln('Someones trading, Stop the script!')
end
end;


procedure LookInBank;
begin
if(Bankl=True) then
begin
FindBank(Bank);
if(PinScreen=True) then
begin
InPin(Pin);
end
if(BankScreen=True) then
begin
FixBank;
CloseBank;
end
end
end;

yettti

2007-04-14 13:54:41

thanks dude… im not gonna change it now but ill remember it for further scripts, one of the reasons i don't is cuz im used to other programing languages where theres an auto layout button :( , well anyway theres always a time to change