testy_d

daemons
OBJECT
       DAEMONPATH testy_d

SYNOPSIS
       #include <daemons.h>

       TESTY_D->lfun();

DESCRIPTION
        The TESTY_D holds the list of official wizard testplayers. It reads 
        the data from /etc/TESTY_LIST on startup.

        mixed QueryTestyList();
         This returns an array of all known testplayer names.

        mixed CheckTesty(mixed name);
         This returns the wizards name which is the 'owner' of the testplayer,
         or 0 if the given name is not a registered testplayer. 'name' can be
         given as string or object.

EXAMPLES
        #include <daemons.h>
        #include <msgclass.h>

        ...
        if ( TESTY_D->CheckTesty( this_player() ) )
          msg_write( CMSG_GENERIC, "You are a testplayer!\n" );
        ...

FILES
        DAEMONPATH testy_d.c
        /etc/TESTY_LIST

SEE ALSO