Aschbourne_PRC8/_module/nss/_c_check_player.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

28 lines
806 B
Plaintext

//><><><><><><><><><><><><><><><><><><><><><><><><>*
//:: Name: _c_check_player
//:: Function: StartingConditional
//><><><><><><><><><><><><><><><><><><><><><><><><>*
/*
DM's on the client can delete all message's
without having there login's here. Add your
player login to delete the message board if your
not on the client.
*/
//><><><><><><><><><><><><><><><><><><><><><><><><>*
//:: Created By: RagE aka Napalm-uk-RTW
//:: Created On: 25/9/05
//:: Copyright (c) 2002 *RTW* corp.
//><><><><><><><><><><><><><><><><><><><><><><><><>*
int StartingConditional()
{
object oPC = GetPCSpeaker();
if(GetIsDM(oPC) == TRUE ||
GetPCPlayerName(oPC) == "---RagE---" ||
GetPCPlayerName(oPC) == "" ||
GetPCPlayerName(oPC) == "") {
return TRUE;
}
return FALSE;
}