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