title.c

foundation2_fluffos_v1/lib/cmds/creator/title.c · 276 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DAEMON;

int cmd(string str) {
    if (!str) {
        notify_fail("title <string>\n");
        return 0;
    }
    if (strsrch(str, "$N")==-1) str = "$N " + str;
    this_player()->SetShort(str);
    write("Changed to: " + str);
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571