Initial Upload
Initial Upload
This commit is contained in:
26
_module/nss/mail_preview.nss
Normal file
26
_module/nss/mail_preview.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Mail - Preview
|
||||
//:: mail_preview.nss
|
||||
//:: Copyright (c) 2003 Jake E. Fitch
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Build the preview of 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);
|
||||
|
||||
SetCustomToken(8001, GetCampaignString(DBName, "MBOwner" + IntToString(GetLocalInt(oMailman, "mail_ToMB"))));
|
||||
SetCustomToken(8002, GetLocalString(oMailman, "mail_Subject"));
|
||||
SetCustomToken(8003, GetLocalString(oMailman, "mail_Message"));
|
||||
|
||||
return TRUE;
|
||||
}
|
Reference in New Issue
Block a user