SCAR Code:
case random(10) of
1: TypeSend('doh!');
2: TypeSend('awww');
3: TypeSend('ugh');
4: TypeSend('Sucks');
5: TypeSend('That was my monster!');
6: TypeSend('I hate you!');
7: TypeSend('=(');
8: TypeSend('...');
9: TypeSend('rawr');
10: TypeSend('!');
Random(10) results 0-9.
SCAR Code:
Function randomtodie: Boolean;
begin
if (FindFastRandoms) or
(FindNormalRandoms) then
begin
Result := True;
writeln('Found joo!');
end else
begin
Result:= False;
end;
FindTalk
SrlRandomsReport;
end;
Everything in FindFastRandoms is in FindNormalRandoms, so is FindTalk.
SCAR Code:
Function randomtodie: Boolean;
begin
if (FindNormalRandoms) then
begin
Result := True;
writeln('Found joo!');
end else
begin
Result:= False;
end;
SrlRandomsReport;
end;
That will cause less lag.
For fightingmode you can use a case (Lowercase() makes the string result with all letters lowercase):
SCAR Code:
case Lowercase(Players[currentplayer].strings[1]) of
'attack': SetFightMode(1);
'strength': SetFightMode(2);
'defence': SetFightMode(3);
end;
Just a suggestion:
SCAR Code:
if((y1-y) <=60) or ((y-y1)<=60)then
begin
MMouse(x1,y1,1,1);
if(IsUpTextMulti('Attack','Hob','Goblin'))then
begin
GetMousePos(x1, y1);
Mouse(x1,y1,0,0,true);
wait(3000+random(600));
Box is also in FindNormalRandoms.
SCAR Code:
4: case random(3) of
1: HoverSkill('attack',false);
2: HoverSkill('Strength',false);
3: HoverSkill('Defence',false);
4: HoverSkill('crafting',false);
"case Random(4) + 1 of" will work. Same with the rest of the cases.
Nice script, work on your standards.