28 lines
757 B
Plaintext
28 lines
757 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Mailbox - Display
|
||
|
//:: mail_mb_display.nss
|
||
|
//:: Copyright (c) 2003 Jake E. Fitch
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Display the current welcome message.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Jake E. Fitch (Milambus Mandragon)
|
||
|
//:: Created On:
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "mail_include"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oMailman = GetNearestObjectByTag("Mailman", oPC);
|
||
|
|
||
|
int iMailbox = GetLocalInt(oMailman, "mail_Mailbox");
|
||
|
string sMessage = GetCampaignString(DBName, "MBMessage" + IntToString(iMailbox));
|
||
|
|
||
|
SetCustomToken(8000, sMessage);
|
||
|
|
||
|
return TRUE;
|
||
|
}
|