quit.c

MudOS_0.9.18/mudlib/lil/command/quit.c · 183 B

From the archive MudOS_0.9.18.tar.gz

Download the archive   « Back to the archive contents

#include <command.h>

int
main(string arg)
{
	write("Bye.\n");
	say((string)previous_object()->query_name()
		+ " leaves this reality.\n");
	previous_object()->remove();
	return 1;
}

Site Stats

Snippets: 1791
Codebases: 571