28 lines
763 B
Plaintext
28 lines
763 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Mail - Conversation, No Greeting
|
||
|
//:: mail_conv_ngreet.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 TRUE;
|
||
|
|
||
|
return FALSE;
|
||
|
}
|