PoA_PRC8/module/nss/ispeak.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

17 lines
398 B
Plaintext

void main()
{
object oPC = GetLastUsedBy();
int nItems = 0;
object oItem = GetFirstItemInInventory(oPC);
while (GetIsObjectValid(oItem) == TRUE)
{
nItems ++;
oItem = GetNextItemInInventory(oPC);
}
DelayCommand(1.5, AssignCommand(OBJECT_SELF, ActionSpeakString
("<cþþ >You have - " + IntToString(nItems) + " - total Items in your inventory.", TALKVOLUME_TALK)));
}