Jump to content

Struggling to idle


mr magoo

Recommended Posts

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
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

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