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

15 lines
422 B
Plaintext

void main()
{
int iOpener = GetGender(GetLastOpenedBy());
if(iOpener != GENDER_FEMALE)
{
ActionCloseDoor(OBJECT_SELF);
ActionSpeakString("No way mister. This side is for the ladies.");
}
{
DelayCommand(8.0, ActionCloseDoor(OBJECT_SELF)); // Close the door 8 seconds after opening
// DelayCommand(8.0, ActionDoCommand (SetLocked (OBJECT_SELF, TRUE))); // Lock the door
}
}