Subj : Re: ACS help
To : Christian Sacks
From : g00r00
Date : Sun Jul 11 2021 09:28 pm
CS> I have things I don't want to run, if the user is invisible or the user
CS> is me regardless of whether I am invisible or not.
CS>
CS> Should I do the !u1 or !s255 part BEFORE the !OI? like
CS> (!s255|!OI)
The problem here is with your logic and I noticed this right after I sent that last message.
If you break the ACS down using a T and F for true/false for each value you can see what I mean. Lets look at a user who is S255 but not invisible:
(!s255|!OI)
(!T|!F)
(F|T)
FALSE OR TRUE = TRUE
So its doing what its supposed to do, which is to evaluate to true. If you stop ORing the logic you should get results like what you're looking for:
!s255!OI
!T!F
FT
FALSE AND TRUE = FALSE
You want it to run when they are not s255 and not invisible, since the ACS is defining when it SHOULD run not when it shouldn't. Give that a try and let me know how it goes.
... One tequila, two tequila, three tequila, floor.