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
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 409 |
Nodes: | 16 (2 / 14) |
Uptime: | 48:55:40 |
Calls: | 8,570 |
Files: | 13,222 |
Messages: | 5,929,191 |