SRL Archive - RS3 Outdated / Broken Scripts

Quick switch


rotwyla98

2009-01-10 14:57:08

I need to do some manual stuff on my bots and would like a simple "click button > program logs out, logs into next player"

I know how to use NextPlayer… having trouble coming up with a way to tell the script to log into the next player. Any ideas?

ian.

2009-01-10 15:00:56

NextPlayer(false); <– that makes it so that it won't go back on the player it just logged out..

NextPlayer(true); <– will make it go on the account it was on when it gets back to that player..

is that what you mean?

rotwyla98

2009-01-10 17:55:32

I mean i want to log onto one player - > do stuff manually (do a quest, go to GE, buy weapons) then press a button or something and SCAR would log me out and log into next player.

What I need help fguring out is how to tell the script to change to the next player when I want it to. follow?

mormonman

2009-01-10 18:56:15

if iskeydown('whateverkey') then
Logout;
NextPlayer(true);

something like that….

this is taken from scar manual

function IsKeyDown(C: Char): Boolean;
Checks if the given key is down.
Example:
if(IsKeyDown('a'))then
Writeln('You have pressed "a". Congratulations!');