process_input.4

MudOS_0.9.18/doc/applies/process_input.4 · 708 B

From the archive MudOS_0.9.18.tar.gz

Download the archive   « Back to the archive contents

.\"accepts a copy of all user input from the MudOS driver
.TH PROCESS_INPUT 4

.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