SRL Archive - First Scripts

Quick help


drawboy11

2012-02-12 00:50:13

How do I add checking if run energy is above a certain percent and activating if it is? I know there is a function, but I cant get it to work, thanks for the help guys ;P Btw making a clayminer that banks at Edgeville, so you will be rewarded for your help(; Its a revision/combination of both scripts we currently have, so I will be giving credit to them for most of it. I just have to add breaking, switching worlds if more than 3 people are present and make my pixel shift function more accurate. Will be posting a review reversion shortly for feedback ;P

Deadly Serious

2012-02-12 02:27:33


begin
if (Not runenergy(50)) then
begin
Setrest;
Wait(10000+Random(5000)); or restuntil(90);
//You can have restuntil or the random wait. They both basically do the same thing.
end;

drawboy11

2012-02-12 16:32:17

From: Deadly Serious

begin
if (Not runenergy(50)) then
begin
Setrest;
Wait(10000+Random(5000)); or restuntil(90);
//You can have restuntil or the random wait. They both basically do the same thing.
end;



Works like a charm, thanks(: