How do I tell if a player is connected?

javelin's picture

How do I tell if a player is connected?

With something like this:

gte(conn(*player), 0)

You shouldn\'t use hasflag(*player, connected). That will only work for see_all objects, because the connected flag is hidden to mortals. This might change in the future, but don\'t depend on it. Stick to conn().

2001-Jul-27 8:37pm shawnw