Ancordia_PRC8/_module/nss/del_getdetails.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

11 lines
327 B
Plaintext

#include "x4_inc_functions"
int StartingConditional()
{
string sMessage = GetLastPCChatMessage(GetPCSpeaker());
int nGold = StringToInt(sMessage);
SetCustomToken(920, IntToString(nGold));
SetCustomToken(921, IntToString(9*nGold/10));
SetCustomToken(922, IntToString(nGold - 9*nGold/10));
return TRUE;
}