AresMUSH
A New Breed of MUSH Server

Client Monitor

  • [code]
  • [engine]
  • [clients]

The Client Monitor keeps track of everyone who’s logged in, so it’s your go-to source when you need to know who’s logged in or to get a client for a character.

For example, the ‘who’ list would rely on:

Global.client_monitor.logged_in

There are handy shortcuts for emitting to someone when all you have is a character object. Remember - we don’t emit to characters, we emit to clients. We need the client monitor to help us find which client belongs to a given character:

Global.client_monitor.find_client(char)
Global.client_monitor.emit_if_logged_in(char, "Something!")