27 lines
703 B
Plaintext
27 lines
703 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Mail - Subject
|
||
|
//:: mail_subject.nss
|
||
|
//:: Copyright (c) 2003 Jake E. Fitch
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Set the Subject for the message.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Jake E. Fitch (Milambus Mandragon)
|
||
|
//:: Created On: Jan. 6, 2004
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "mail_include"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oMailman = GetNearestObjectByTag("Mailman", oPC);
|
||
|
|
||
|
string sMessage = GetLocalString(oMailman, "mail_Spoken");
|
||
|
|
||
|
SetLocalString(oMailman, "mail_Subject", sMessage);
|
||
|
|
||
|
SetListening(oMailman, FALSE);
|
||
|
}
|