SRL Archive - RS3 Script Requests

Probably the Simplest Request...


Mister Snow

2011-01-10 14:19:23

I have no idea where else to put this.

I just want a script to randomly generate a number in a given range for me. For now, I just want it to generate either a 1, 2, or 3… or a 0,1,2… whatever.

Just generate it within the simba window and everything.

I know this should be super simple…

Thank you in advance.

Bobzilla69

2011-01-10 14:21:36

program new;
begin
Writeln(IntToStr(RandomRange(0,3)))
end.

RandomRange(min,max);

Mister Snow

2011-01-10 14:22:43

Thank you very much. I thought it'd probably be one line.

KingKong

2011-01-11 00:33:05

You should use :google: for that kind of stuff, since its more to do with the pascal language itself than botting(though its used for botting)

Hobbit

2011-01-11 00:44:51

From: Mister Snow
Thank you very much. I thought it'd probably be one line.


It could be if you really want.

program new; begin Writeln(IntToStr(RandomRange(0,3))); end.        

From: kongking
You should use :google: for that kind of stuff, since its more to do with the pascal language itself than botting(though its used for botting)


That was not necessary.

nickrules

2011-01-20 23:12:52

From: Hobbit

That was not necessary.

Agreed.

Anyway, Mister Snow, you have to start somewhere. I remember my first script basically was a random number generator, with a few coordinate clicks. That was all. Made a couple hundred K before i realized what i was doing is like instant ban. Needless to say I wasn't banned ;)