30 lines
797 B
Plaintext
30 lines
797 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Mail - Conversation, Greeting
|
|
//:: mail_conv_greet.nss
|
|
//:: Copyright (c) 2003 Jake E. Fitch
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Show the Mailboxes custom greeting.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Jake E. Fitch (Milambus Mandragon)
|
|
//:: Created On:
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "mail_include"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oMailman = GetNearestObjectByTag("Mailman", oPC);
|
|
|
|
int iTo = GetLocalInt(oMailman, "mail_ToMB");
|
|
string sGreeting = GetCampaignString(DBName, "MBMessage" + IntToString(iTo));
|
|
|
|
if (sGreeting == "") return FALSE;
|
|
|
|
SetCustomToken(8000, sGreeting);
|
|
|
|
return TRUE;
|
|
}
|