how would I add this message/Script part:
" <cÿ ÿ> Welcome to Celyon PW Designed by GM_Dragon. Please enjoy yourself while you are here. -The Celyon Team"
To this script:
#include "gs_inc_common"
#include "gs_inc_text"
void main()
{
object oEntering = GetEnteringObject();
if (GetIsDM(oEntering)) return;
//check if cd key is banned
object oBanishment = GetLocalObject(OBJECT_SELF, "GS_BANISHMENT");
if (GetIsObjectValid(oBanishment))
{
string sCDKey = GetPCPublicCDKey(oEntering);
if (GetIsObjectValid(GetItemPossessedBy(oBanishment, "GS_BA_" + sCDKey)))
{
SendMessageToAllDMs(
gsCMReplaceString(
GS_T_16777425,
GetName(oEntering),
GetPCPlayerName(oEntering),
sCDKey));
BootPC(oEntering);
return;
}
}
AddJournalQuestEntry("GS_DIARY_001", 1, oEntering, FALSE);
AddJournalQuestEntry("GS_DIARY_002", 1, oEntering, FALSE);
if (GetLocalInt(oEntering, "GS_ENABLED"))
{
//restore health
int nHealth = GetLocalInt(OBJECT_SELF, "GS_HEALTH_" + ObjectToString(oEntering));
gsCMSetHitPoints(nHealth, oEntering);
SetLocalInt(oEntering, "GS_ENABLED", -1);
}
//activity
SetLocalInt(oEntering, "GS_ACTIVE", TRUE);
ExecuteScript("activateclimbing",OBJECT_SELF);
if (GetRacialType(oEntering)==RACIAL_TYPE_ELF && GetIsPC(oEntering))
{
if (GetItemPossessedBy(oEntering, "Ammy_Elf")== OBJECT_INVALID)
{
CreateItemOnObject("elf_ammy", oEntering);
}
}
}
Thanks
-DM_Dragon