Very nooby question. How do I set this boolean to true?

Discussion in 'Plugin Development' started by football70500, Feb 16, 2014.

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

    football70500

    Well I am making a plugin where when the boolean is false it will display one message and when its true it will display another message. I need to set the boolean to true/false with two different commands. How would I do this?
     
  2. Offline

    Stealth2800

    ...
    aBoolean = true;
    aBoolean = false;

    ...? Is this what you're asking?
     
  3. Offline

    football70500

    Okay so I want to check that if the boolean, checkstaff is false or is true. And if its false set it to true and if its true set it to false
     
  4. Offline

    RawCode

    boolean = !boolean
     
  5. Offline

    firecopy

    bool = !bool.

    (Makes a true boolean false, makes a false boolean true)
     
Thread Status:
Not open for further replies.

Share This Page