say.c

ds2.10/fluffos-2.16-ds05/testsuite/command/say.c · 207 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

#include <command.h>

#ifdef __NO_ENVIRONMENT__
#define say(x) shout(x)
#endif

int main(string arg)
{
    say((string)previous_object()->query_name()
            + " says: " +  arg + "\n");
    return 1;
}

Site Stats

Snippets: 1791
Codebases: 571