Initial Upload
Initial Upload
This commit is contained in:
27
_module/nss/mail_conv_ngreet.nss
Normal file
27
_module/nss/mail_conv_ngreet.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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;
|
||||
}
|
Reference in New Issue
Block a user