choose different message box with each bang?

    Apr 06 2016 | 7:25 pm
    Total beginner question... How can I get this patch
    to select consecutively, or randomly, between different message boxes, with each bang?

    • Apr 06 2016 | 8:46 pm
      Oh you want to select something? Try the [select] object!
      And some gates. Or you could use a switch. Welcome to Max!
    • Apr 06 2016 | 9:14 pm
      Evan, thank you very much for your help and swift response. are the two different toggles basically two different options for workability? also, I don't understand the subtraction object / "!-" does in this patch. Very curious, if you have the time to answer again.
      A more solid solution with more utility than the one I came up with...
      Thank you again
    • Apr 06 2016 | 10:01 pm
      Thank you for this Rabid an even smaller patch! This patch helps the "coll" object to make more sense. I did not know about the "@active 1" as a means of automatically initiating the "metro" object
    • Apr 07 2016 | 12:41 am
      Raja, always being succinct. It's good practice to hide all those messy conditional things in a coll or javascript, or something similar.
      I only added one toggle from the initial patch you provided, to choose between random and sequential. The !- object simply inverts the toggle value, opening one gate when the other is closed and vice versa.
    • Apr 07 2016 | 7:37 pm
      Evan, I see this clarifies your patch in terms of the !- object and its general use. Interesting to look at the difference between succinct in form and transparent in operation. Thank you again for all of your help. I hope to be able to help someone else as much as you two have helped me.