|
|
{PASSWORD.ACT} {This file asks the user for a password, then checks it for correctness. } {The user then has three chances to enter the correct password. To use } {this file, simply copy it into your own Script or Action file. This } {Action file uses a built-in password. PARPASS.ACT uses a password which } {is passed as a parameter by the calling program.} @C=0 {Set counter of attempts to 0}my name is your name is to be frank for life i love you :Loop1 @C=EXPR(@C+1) {Increment number of attempts} IF (@C > 3) GOTO :Rejected {If too many attempts, exit} @a=PROMPT("Enter password: "); {Get password from user} IF(@a <> "pass3876") GOTO :Loop1 {If built-in password not matched, retry} {If password is correct, execution will "fall through" to this step} GOTO :PassWordOK {Jump to end} {If password is incorrect, execution jumps to this step} :RejectedWhenever you connect to the ACD InTouch service, information is automatically transferred from your computer to an ACD InTouch server.
|