30 lines
764 B
Plaintext
30 lines
764 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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;
|
||
|
}
|