If, then, else

    Apr 05 2012 | 12:40 am
    Hi patchers
    Im new in max and i need help, i worked before in Visual basic, and i need help with the conditions or the If's
    For a example:
    in basic i do a condition this way:
    if var1, var2, var3=1 then
    the 1 and the 0 in this case is for a LED in max.
    If the leds 1,2 and 3 are activated then
    led4 will be activated
    led4 is disable
    please, i tried a lot on max, but cant find the way to do this simple if.
    i need help...

    • Apr 05 2012 | 12:57 am
      like this?
    • Apr 05 2012 | 1:02 am
      or a more literal way:
    • Apr 05 2012 | 1:18 am
      woot, thats perfect :D
      Thanks to both of you :D
      looking foward to learn them on my own
      Keep Patching
    • Apr 05 2012 | 2:03 am