Rune_PRC8/_module/nss/xa_bank_balance.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

14 lines
332 B
Plaintext

#include "nbde_inc"
int StartingConditional()
{
object oPC = GetPCSpeaker();
string sName = GetName(oPC);
string sLeft = GetStringLeft(sName,4);
string sCampName = "BankGold_" + sLeft;
int iCampGold = NBDE_GetCampaignInt(sCampName, "GOLD");
SetCustomToken(999, IntToString(iCampGold));
return TRUE;
}