Read Topic :P
Here is my personal one im using in a woodcutting script. I modifed it from someone elses.
SCAR Code:Procedure WereHuman;
Begin
If not(LoggedIn) then Exit;
Begin
Case Random(20) of
0: HoverSkill('random', false);
1: RandomRClickEvery(2 + Random(8));
2: RotateEvery(20 + Random(10));
3: LeaveScreenEvery(5 + Random(5));
4: HoverSkill('Woodcutting', false);
5: BoredEvery(9 + Random(24));
6: Begin
GameTab(1 + Random(12));
Wait(1500 + Random(500));
GameTab(4);
end;
7: SleepAndMoveMouse(1000 + Random(1000));
8: MMouse(Random(MIX2), Random(MIY2), 0, 0);
9: HoverSkill('Firemaking', false);
end;
end
end;
I've always wondered, when it says
"Case Random(20) of"
What does the 20 stand for? Because there's only 9 choices beneath it.
http://www.srl-forums.com/forum/Manual.php?do=AntiBan
And I love that page on the SRL Manual.
Random 20 makes a random number between 0 and 20. There are only 9 options, so the script will only do something when the number is smaller then 10. So if the number is 11 the script wont do anything. This way you can make something happen a lot, or not![]()
Ohhh! Oh ok, I gotcha, thanks :P That's actually what I thought, but I thought it couldn't be right. But I see the point.
i kinda think SleepAndMoveMouse(1000 + Random(1000));
is detectable but, thats what i think.
SCAR Code:Procedure WereHuman;
Begin
If not(LoggedIn) then Exit;
Begin <-- you dont need another begin >?????
Case Random(20) of
0: HoverSkill('random', false);
1: RandomRClickEvery(2 + Random(8));
2: RotateEvery(20 + Random(10));
3: LeaveScreenEvery(5 + Random(5));
4: HoverSkill('Woodcutting', false);
5: BoredEvery(9 + Random(24));
6: Begin
GameTab(1 + Random(12));
Wait(1500 + Random(500));
GameTab(4);
end;
7: SleepAndMoveMouse(1000 + Random(1000));
8: MMouse(Random(MIX2), Random(MIY2), 0, 0);
9: HoverSkill('Firemaking', false);
end;
end
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)