ID:2813897
 
(See the best response by Kozuma3.)
Is there a way to do this simply?
My oldtart ass has something like this down:



If(!M in viewers(src))

And tried also if(M in !viewers(src))




Enlighten me haha
I even tried

if(!viewers(src).Find(M))



I basically am making a verb that finds out if anyones nearby or not
Best response
Tried
if(!(M in viewers(src)))
?

If that doesn't supply a argument to viewers for the distance/range of it.
^ this should work.

the problem you're running into is ! acts BEFORE in.
So !M in viewers(src) is read as NEGATE(M) in viewers(src), or 0 in viewers(src), which would obviously fail.

It's an order of operations issue, honestly not sure why it's designed like this
In response to Kozuma3
Kozuma3 wrote:
Tried
if(!(M in viewers(src)))
?
If that doesn't supply a argument to viewers for the distance/range of it.

This definitely worked, Thank you aswell Lemon, I actually stumbled into this myself after re-arrangin the entire code in different sequences, it was until I noticed ! only accounts for the atom at hand instead of the entire if()-- well I Don't know how to word it but y'get my jiff..

Thanks though guys. & Nice to see you still around helping out the community Koz.