say.php

phudbase/server/includes/actions/say.php · 268 B

From the archive phudbase-1.11.tar.gz

Download the archive   « Back to the archive contents

<?php
	$c = getCharMem($cEID);	

	// Send the message to everyone in the room except the speaker //
	$c->getRoom()->send("{$c->getName()} says, \"$args\"", "room", $c->getEID());
	
	// Let the player know it worked... //
	$c->send("You said, \"$args\"", "caction");
?>

Site Stats

Snippets: 1791
Codebases: 571