28 lines
719 B
Plaintext
28 lines
719 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Mail - Show Message
|
||
|
//:: mail_showmessage.nss
|
||
|
//:: Copyright (c) 2003 Jake E. Fitch
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Show the message.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Jake E. Fitch (Milambus Mandragon)
|
||
|
//:: Created On: Jan. 6, 2004
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "mail_include"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oMailman = GetNearestObjectByTag("Mailman", oPC);
|
||
|
|
||
|
int iMessageID = GetLocalInt(oMailman, "mail_Message");
|
||
|
string sMessage = FormatMessage(iMessageID);
|
||
|
|
||
|
SetCustomToken(8000, sMessage);
|
||
|
|
||
|
return TRUE;
|
||
|
}
|