Aantioch_Infernum/_module/nss/hif_onclientente.nss
Jaysyn904 9c38ad9c6b Added XP & LA journal entries
Added XP & LA journal entries.  Full compile.
2023-09-25 21:43:15 -04:00

27 lines
982 B
Plaintext

// prc_onenter,_oncliententer
/////////////////////////////////////////////////////////////////////
//
// This script has been auto-generated by HakInstaller to call
// multiple handlers for the oncliententer event.
//
/////////////////////////////////////////////////////////////////////
void main()
{
//:: Declare major variables
object oPC = GetEnteringObject();
//: Add system journal entries
AddJournalQuestEntry("xprules", 1, oPC, FALSE, FALSE, FALSE);
AddJournalQuestEntry("lvl_adj", 1, oPC, FALSE, FALSE, FALSE);
//:: Send Under Construction message
SendMessageToPC(oPC, "This server is under active development and could go down arbitrarily. Admin will try to give notice beforehand.");
ExecuteScript("prc_onenter", OBJECT_SELF);
ExecuteScript("_oncliententer", OBJECT_SELF);
AssignCommand(oPC, DelayCommand (1.0, ClearAllActions(TRUE)));
AssignCommand(oPC, DelayCommand(1.2, PlayAnimation(ANIMATION_LOOPING_TALK_NORMAL, 1.0, 0.5)));
}