Files
HeroesStone_PRC8/_module/nss/wsm_sc_menonly.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

15 lines
415 B
Plaintext

void main()
{
int iOpener = GetGender(GetLastOpenedBy());
if(iOpener != GENDER_MALE)
{
ActionCloseDoor(OBJECT_SELF);
ActionSpeakString("No no Ladies...this is the men's side.");
}
{
DelayCommand(8.0, ActionCloseDoor(OBJECT_SELF)); // Close the door 8 seconds after opening
// DelayCommand(8.0, ActionDoCommand (SetLocked (OBJECT_SELF, TRUE))); // Lock the door
}
}