mem.c

ds2.10/lib/cmds/players/mem.c · 516 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DAEMON;

mixed cmd(string args) {
    int i, lines = 2 * this_player()->GetScreen()[1];
    write("lines: "+lines);
    for(i=lines;i>0;i--){
        write("Loading memtest...\n");
    }
    this_player()->eventPage(explode(mud_status(1), "\n"));
    return 1;

}

void help() {
    write("This command makes it look like you're doing something "
            "important and technical that has to do with memory, but really "
            "it's just wiping your screen of game text.");
}

Site Stats

Snippets: 1791
Codebases: 571