Hello
I'm using the following part of code to lock a certain EA
My question is how can I output an ex4 file to work on several accounts instead of producing 1 ex4 file for each account ie: 11223344, 124578, 458789, 87859.
I'm using the following part of code to lock a certain EA
Inserted Code
//Date Lock
bool use_demo=True;
int demo_year=2015;
int demo_month=7;
int demo_day=30;
//Account Number Lock
int acc_number=11223344;
int start() {
//demo
if(use_demo)
{
if((Year()>demo_year || (Year()==demo_year && Month()>demo_month) || (Year()==demo_year && Month()==demo_month && Day()>=demo_day)) || IsTesting())
{
Alert("License Expired, Contact Seller: [email protected]");
return(0);
}
}
//acc number
if(acc_number!=0 && acc_number!=AccountNumber())
{
Alert("EA Not Licensed For Your Account Number, Contact Seller: [email protected]");
return(0);
} My question is how can I output an ex4 file to work on several accounts instead of producing 1 ex4 file for each account ie: 11223344, 124578, 458789, 87859.