Jump to content
Sequence

Repeat a certain amount of minutes

Recommended Posts

What I want is to create a loop that repeats for 15 minutes, then goes to the next commands in my script and starts over.

I couldn't find a tutorial on this because I didn't know what to search for, and I'm sure there must be some kind of command for this :)

 

[scar]

begin

PwnXile;

 

Repeat

FindNPC;

Wait(5000 + Random(1000));

 

SuperAttack;

Wait(2000 + Random(500));

SuperStrength;

Wait(2000 + Random(500));

until false;

 

end.

[/scar]

 

I want it to repeat this for 15 minutes

[scar]

FindNPC;

Wait(5000 + Random(1000));

[/scar]

 

and then go to this, and start over

[scar]

SuperAttack;

Wait(2000 + Random(500));

SuperStrength;

Wait(2000 + Random(500));

[/scar]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...