Start Info Community Spielen
 
 

Morgengrauner Dokumentation

Dateipfad: /home/mud/mudlib/doc//efun/snoop

SYNOPSIS
        object snoop(object snooper)
        object snoop(object snooper, object snoopee)

DESCRIPTION
        Starts a snoop from 'snooper' on 'snoopee', or if 'snoopee' is not
        given, terminates any snoop from 'snooper'.

        Return  on success, or 0 for a failure (including snooping
        loops).

        The snoop is checked with the master object for validity.  It
        will also fail if a snoop would result in a recursive snoop
        action.

         can be an interactive player, or an object. If it is
        an interactive player, the snooped text is prepended with a
        '%' and send directly to the players connection. If 
        is an object, the snooped text is sent in two calls to the
        object's catch_tell() lfun: the first call passes just the
        "%" (plus the prompt if the object changed it), the second the
        actual text.

SEE ALSO
        query_snoop(E), catch_tell(A)


zurück zur Übersicht

YOUTUBE | FACEBOOK | TWITTER | DISCORD | FEEDBACK | IMPRESSUM | DATENSCHUTZ 1992–2023 © MorgenGrauen.