GRUNT.C

LIB3/STD/LANGUAGE/GRUNT.C · 581 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

/*
   ** The language everyone can speak.  But no one understands.
 */

string long()
{
    return "Consists of grunting noises.\n";
}

mixed   garble_say( string start, string rest )
{
    string  nam, loud;

    sscanf( start, "%s %s:", nam, start );
    if( sscanf( start, "%s loudly", start ) == 1 )
	loud = " loudly.";
    else
	loud = ".";
    switch( start )
    {
	case "asks":
	    nam += " quizzically grunts";
	    break;
	case "exclaims":
	    nam += " pointedly grunts";
	    break;
	default:
	    nam += " grunts";
	    break;
    }
    return({ nam + loud, "" });
}

Site Stats

Snippets: 1791
Codebases: 571