Initial Upload
Initial Upload
This commit is contained in:
29
_module/nss/mail_conv_shown.nss
Normal file
29
_module/nss/mail_conv_shown.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Mail - Conversation, Show Next Option
|
||||
//:: mail_conv_shown.nss
|
||||
//:: Copyright (c) 2003 Jake E. Fitch
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Show the next button?
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
int iTotalMB = GetCampaignInt(DBName, "LastMailbox");
|
||||
int iMB = GetLocalInt(oMailman, "mail_LastMB") + 1;
|
||||
|
||||
if (iMB <= iTotalMB) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user