[Solved] onCommand while loop, break with another command

Discussion in 'Resources' started by Musaddict, Aug 16, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Musaddict

    How would I set up my code to break the while loop initialized by "/basic set", using the command "/basic create"?

    Can someone give a "do something" example?
     
  2. Offline

    Knorke

    You should have a look at http://forums.bukkit.org/threads/threads-the-scheduler.35239/

    Because you cant run your loop inside the main thread, you need to use a separate thread.

     
Thread Status:
Not open for further replies.

Share This Page