generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
14
_module/nss/pwchest_busy.nss
Normal file
14
_module/nss/pwchest_busy.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user