Aschbourne_PRC8/_module/nss/_c_set_menu.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

25 lines
824 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "_c_inc_message"
//><><><><><><><><><><><><><><><><><><><><><><><><>*
//:: Name: _c_set_menu
//:: Function: StartingConditional
//><><><><><><><><><><><><><><><><><><><><><><><><>*
/*
"Cough"
*/
//><><><><><><><><><><><><><><><><><><><><><><><><>*
//:: Created By: RagE aka Napalm-uk-RTW
//:: Created On: 25/9/05
//:: Copyright (c) 2002 *RTW* corp.
//><><><><><><><><><><><><><><><><><><><><><><><><>*
int StartingConditional()
{
int nHit = GetLocalInt(OBJECT_SELF,M_HIT);
int nIndex = GetDataBaseInt(_INDEX_)+1;
int nPage = GetDataBaseInt(_PAGE_)+1;
string sName = GetDataBaseString(M_NAME);
SetCustomToken(112,"<cþþþ>"+sName);
SetCustomToken(111,"<cþþþ>"+IntToString(nHit));
SetCustomToken(100,"<cþþþ>"+IntToString(nPage)+"<cþ> of <cþþþ>"+IntToString(nIndex));
return TRUE;
}