Aantioch_Infernum/_module/nss/enter_message6.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

22 lines
470 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
int iClass = GetClassByPosition(1|2|3,oPC);
if (iClass== CLASS_TYPE_DRUID || CLASS_TYPE_RANGER)
{
SendMessageToPC(oPC, "The balance of nature as been disturbed here");
}
else
{
SendMessageToPC(oPC, "Why are these dryads attacking, something is wrong here");
}
}