15 lines
432 B
Plaintext
15 lines
432 B
Plaintext
|
#include "x4_inc_functions"
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oModule = GetModule();
|
||
|
string sDB = GetLocalString(oModule, "DB");
|
||
|
string sLogin = GetLocalString(oPC, "LoginSpoken");
|
||
|
if (sLogin == "") return;
|
||
|
DeleteLocalString(oPC, "LoginSpoken");
|
||
|
string sLoginConv = GetStringLowerCase(sLogin);
|
||
|
string sVarName = "ACCOUNT_"+sLoginConv+"_Auth";
|
||
|
SetCampaignInt(sDB, sVarName, 0);
|
||
|
|
||
|
}
|