المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : كلمة مرور لا تعمل الا مرة واحدة فقط


تيمو ميجا نت كافية
20-05-2019, 11:40 AM
السلام عليكم ورحمة الله
لو سمحت حد عندو فكرة ازاى اعمل كلمة مرور للتجميعية متشتغلش غير مرة واحدة بس ؟
ولما المستخدم يستخدم كلمة المرور مرة واحد بطريقة صحيحة متظهرلوش تانى واجهة كلمة المرور ؟
انا عملت طريقة كدة بس لازم كل مرة ادخل كلمة مرور عند فتح البرنامج
ودة الكود اللى اشتغلت علية
Text1 = Input.GetText("Input1");
Text2 = Input.GetText("Input2");
Text3 = Input.GetText("Input3");
Text4 = Input.GetText("Input4");
Text5 = Input.GetText("Input5");

password = false;

serial = "45871254874522146587";
serial = "AZSWEDCSEDRFTGYHYHGR";
serial = "HG1RREDCVFRT54GBBHYT";
serial = "ERRETGGBFVFDCDDERFCX";
serial = "6CC7244DB2E77B1WEDRF";
serial = "87412DFG36EE74RR412G";

if Text1 == "" and Text2 == "" and Text3 == "" and Text4 == "" and Text5 == "" then
Dialog.Message("Warning","please Enter The Key");

else
if Text1..Text2..Text3..Text4..Text5 == serial then
password = true;
Page.Jump("Home");
end

if not password then

Dialog.Message("Error","Please enter a valid password or Buy the license key");
end

end