Our names are almost the same :P
A good script requires a good build.
A good build requires a good choice of selfmade and normal functions working good together.
Selfmade function require understanding 
A small "poem", but true. A good build is essential for a script. Have all the anti-randoms in one procedure, and have it run regularly in your script.
Anti-ban should be a case of 10 different things. And with that, it should only work once in a while. Like this.
SCAR Code:
procedure MyAntiBan;
begin
Case Random(10) of
0: // Do Something.
1: // Do something.
2: // Do something.
3: // Do something.
4: // Do something.
5: // Do something.
6: // Do something.
7: // Do something.
8: // Do something.
9: // Do something.
end;
end;
procedure AntiBanSometimes;
begin
Case Random(2) of
0: Wait(2000+random(2000))
1: MyAntiBan;
end;
end;
A good build is a matter of loops, and using them correctly with functions.
I can't describe that, though.
-Knives