LoT_PRC8/_module/nss/pwchest_busy.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

15 lines
433 B
Plaintext

void main()
{
object oContainer = OBJECT_SELF;
object oUser = GetLastUsedBy();
if ( (GetLocalString(oContainer, "USER") != GetPCPlayerName(oUser)) &&
(GetLocalInt(oContainer, "INUSE") == TRUE) )
{
FloatingTextStringOnCreature("Come back when the current player is done.", oUser, FALSE);
}
else
{
FloatingTextStringOnCreature("Walk away to close and save.", oUser, FALSE);
}
}