TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Christian Sacks
from: g00r00
date: 2021-07-11 21:28:00
subject: Re: ACS help

 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.

--- Mystic BBS v1.12 A47 2021/07/09 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.