process_input.4

foundation2_fluffos_v1/lib/doc/driver/applies/interactive/process_input.4 · 747 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"accepts a copy of all user input from the MudOS driver
.TH process_input 4 "5 Sep 1994" MudOS "Driver Applies"

.SH NAME
process_input - provide a hook for the MudOS driver to send a copy of what the
player is typing to the player object.

.SH SYNOPSIS
string process_input( string );

.SH DESCRIPTION
If process_input is present in the player object, then the MudOS driver
parser will send it a copy of each line the player types.  Process_input
makes it easy to implement features like command history and protection
against wizcuffs.  process_input can also modify the player input before it
is parsed.  If process_input returns a non-zero string, that string is
used by the driver instead of what the player typed.

.SH AUTHOR
Truilkan@TMI

Site Stats

Snippets: 1791
Codebases: 571