• may have a bug in mpl OR statement

    From dream master@21:1/163 to g00r00 on Thu Dec 21 12:48:04 2017
    On 12/21/17, g00r00 said the following...
    we found that the OR statement only works on the first condition and rest.
    I responded to this in 0net but I'll respond here too in case you haven't seen it.
    This appears to be a programming logic error not a bug in Mystic. You
    are only adding NOT to the first condition. You need to use parenthesis when you want to negate an entire list of conditions:
    if not (pc = 'purple' or pc = 'blue') then
    Or you could also do:
    if pc <> 'purple' and pc <> 'blue' and pc <> 'green' then

    ok i will give it a try. i did attempt (pc = 'purple) or (pc='blue) then but that didnt work because it was not the entire list. will get back to ya

    |08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
    |08 øù|05ú|13ùø |13øù|05ú|08ùø
    |11 DoRE|03!|11ACiDiC|03!|11Demonic |08[|15dreamland|09.|15darktech|09.|15org|08]

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)
  • From dream master@21:1/163 to g00r00 on Thu Dec 21 12:56:18 2017
    On 12/21/17, g00r00 said the following...
    This appears to be a programming logic error not a bug in Mystic. You
    are only adding NOT to the first condition. You need to use parenthesis when you want to negate an entire list of conditions:
    if not (pc = 'purple' or pc = 'blue') then
    if pc <> 'purple' and pc <> 'blue' and pc <> 'green' then

    this work the first one. i am gonna try the second one too.

    |08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
    |08 øù|05ú|13ùø |13øù|05ú|08ùø
    |11 DoRE|03!|11ACiDiC|03!|11Demonic |08[|15dreamland|09.|15darktech|09.|15org|08]

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)