Jump to content

Struggling to idle


Recommended Posts

Posted (edited)

So I'm working on a script right now and I can't manage to do nothing, apparently? When I do something like this:

 

case IDLE: break;

 

the script continues doing what it was previously doing.

 

But if I do something like:

 

case IDLE : cycleThroughTabs(); break;

 

Where the function cyclethroughTabs just shifts between the inventory and the prayer tabs, it works properly.

 

Does anyone have a proper method of simply doing nothing?

 

EDIT: I guess i fixed the problem .. but I'm not sure how. Somewhere along the way while I was creating the cycleThroughTabs() function and integrating it, i must have fixed the problem, because I just removed it and recreated the first example and it worked. Woops. Also I guess you can't delete topics? Sorry for the spam.

Edited by mr magoo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...