PDA

View Full Version : SCAR / S.M.A.R.T. Randoms



xdustin
02-18-2009, 01:55 PM
How do I set this up to work with Randoms? I'm not sure if I'm posting in the right section, but I didn't see a Question / Answers forum. Every random I get while I'm sitting here I have to do myself. It doesn't talk to Cap 'N Hand or anything. The only random it solves (Half the time) is the Box. If someone can help me, it would be greatly appreciated.


By the way, the scripts I've tried does have Anti-Randoms

impiwimpi
02-18-2009, 02:04 PM
You can put 'FindNormalRandoms' in your script; this will find the randoms and it will (normally) solve them. But you've got to know that not all randoms are currently solved and that the Box-random fails one time out of 2.

If you want an all-in-one solution, you can use this procedure(I know it's basic, but It will probably solve most of the randoms you encounter.)
procedure FindRandom;
var i:integer;

begin
if not(LoggedIn) then Exit;
for i:=1 to 3 do
begin
case i of
1: if FindMod then
begin
writeln('Found Moderator.');
TerminateScript;
end;
2: FindNormalRandoms;
3: if FindFight then
begin
RunAway(RunDirection, true, 1, 5500+Random(1000));-->Remember to declare Rundirection in Const.
end;
end;
end;
end;


EDIT: If you need more help you can PM or take a look at this tut (http://www.villavu.com/forum/showthread.php?t=41564?t=44519&highlight=randoms)