ID:145370
 
Code:
area/nopass
//density=1
layer=8
Enter(mob/M)
if(istype(M))
return 0


Problem description: Everything can simply pass. Is BYOND hating me, like always, or did I miss something crucial here?

Entered isn't used to prevent an atom from entering. That is Enter()
In response to Kalzar
Euh, right, I typed this on forums, it IS enter in my code :>
In response to Mysame
Then fix it on the forums and show us everything (If you edited it for the forums, that might be the problem)
In response to Kalzar
Fixed it, that's exactly how it pass. A mob (me, really) can still pass.

NVM, just redid the whole system... Let this topic die painfully..
In response to Mysame
Well, I don't think istype(M) would even work, but if it did, it would return false always. Maybe you should add a second argument.

--Vito
In response to Vito Stolidus
Format:
istype(Val,Type)
Returns:
1 if Val is derived from Type; 0 otherwise.
Args:
Val: An object instance.
Type: An object prototype or instance. If no type is specified and a variable was passed in as the first argument,
 it will default to the declared type of the variable.



He was right.