My oldtart ass has something like this down:
If(!M in viewers(src))
And tried also if(M in !viewers(src))
Enlighten me haha
Is there a way to do this simply?
My oldtart ass has something like this down: If(!M in viewers(src)) Enlighten me haha |
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 |
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. |
if(!viewers(src).Find(M))
I basically am making a verb that finds out if anyones nearby or not