27 lines
830 B
Plaintext
27 lines
830 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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;
|
|
}
|