Ancordia_PRC8/_module/nss/wdiff_authcheck.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

19 lines
387 B
Plaintext

#include "x4_inc_functions"
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (GetIsDM(oPC) == TRUE) return TRUE;
string sAuth = DBAccountSpecificVariable(oPC, "Auth");
object oModule = GetModule();
string sDB = GetLocalString(oModule, "DB");
// Check a variable.
if ( GetCampaignInt(sDB, sAuth) != 0 )
return TRUE;
return FALSE;
}