Aschbourne_PRC8/_module/nss/dmfi_getln_cbtpl.nss
Jaysyn904 5d27edafba Major update
Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system.  Added PC deleter.  Added ACP 4.1.  Full compile.  Updated release archive.
2024-09-16 23:40:48 -04:00

36 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////
//:: DMFI - DMFI_get_line callback template
//:: dmfi_getln_cbtpl
//:://////////////////////////////////////////////
/*
A template (skeleton) function for DMFI_get_line callback processing.
Use this template to create your script to be invoked when your scripted call
to DMFI_get_line receives input.
*/
//:://////////////////////////////////////////////
//:: Created By: tsunami282
//:: Created On: 2008.05.21
//:://////////////////////////////////////////////
void main()
{
int nVolume = GetPCChatVolume();
object oShouter = GetPCChatSpeaker();
string sSaid = GetPCChatMessage();
// you may wish to define an "abort" input message, such as a line
// containing a single period:
if (sSaid != ".")
{
// put your code here to process the input line (in sSaid)
}
// after processing, you will likely want to "eat" the text line, so it is
// not spoken or available for further processing. If you want the line to
// appear, either comment out the following line, or set it to:
// SetPCChatMessage(sSaid);
SetPCChatMessage("");
}