Initial commit. Updated release archive.
This commit is contained in:
11
_module/nss/bbs_show_next.nss
Normal file
11
_module/nss/bbs_show_next.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object oBBS = GetLocalObject(GetModule(), "BBS_" + GetTag(OBJECT_SELF));
|
||||
int PageSize = GetLocalInt(oBBS, "PageSize");
|
||||
int PageIndex = GetLocalInt(GetPCSpeaker(), "PageIndex");
|
||||
int TotalItems = GetCampaignInt("DB_BBS",GetTag(oBBS) + "#C");
|
||||
if (TotalItems > (PageIndex + 1) * PageSize) {
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user