instead of switching to the correct window after ive dragged the crosshairs it types it in the script box 0_0 other than that it dosn't give me any errors but i guess that dosn't matter since it ruins the script every time
-_-
instead of switching to the correct window after ive dragged the crosshairs it types it in the script box 0_0 other than that it dosn't give me any errors but i guess that dosn't matter since it ruins the script every time
-_-
I Am Angry
its good to see someone try scripting
the window select wasn't the onyl problem, that script was a BAN device!
here is a update you should can run pretty safe!
I hope you learned something from it, it sends random 3 different texts
SCAR Code:Program Flaxbuyer;
{.include srl/srl.scar}
var
times : integer; // make this integer for let it stop after wanted types.
const
howmuch = 20; // how much times to type the text
text1 = 'cyan: buying flax!!'; // text you want to send
text2 = 'cyan: buying flax!!! -- noob'; // text 2 for make typing errors.
text3 = 'white: buying 10k flax!!! - noob'; // text 3 for typing errors.
procedure typing;
begin
case random(3) of // will choose random one of this 3 texts
0 : typesend(text1); // use typesend for not being banned!
1 : typesend(text2); //
2 : typesend(text3); // NO SENDKEYS!!!! it will ban you
end;
times := times + 1 // will make this +1 everytime it has send a text
end;
begin
SetupSRL;
FindWindowBySize(766, 504); // these to
Activateclient; // will select the client!
repeat
typing;
wait(2000 + random(500)); // use +random in your wait, is much better for antibanning
until(times = howmuch) // if times gets the same as howmuch the script will stop howmuch is in the const
terminatescript;
end.
good luck with scripting!
[22:20] <[-jesus-]> freddy, go uninstall yourself
Another cool thing would be random effects. Like this:
SCAR Code:Function Effect: String;
begin
case random(4) of // Random(4), because then there is the posibility that the effect is nothing.
0: Result:= 'wave: '
1: Result:= 'wave2: '
2: Result:= 'scroll: '
end;
end;
Function Color: String;
begin
case random(5) of // Same as above case.
0: Result:= 'green: '
1: Result:= 'red: '
2: Result:= 'cyan: '
3: Result:= 'white: '
end;
end;
-Knives
yes, could add that also![]()
[22:20] <[-jesus-]> freddy, go uninstall yourself
There are currently 1 users browsing this thread. (0 members and 1 guests)