have tried to make a login sequence where a usre gets three attempts,trys. and then is given a non authorization message.
please help with this:(
you would need to use something like this:
if( i<3) {
if(psw != "sesame") {
i++
psw = ""
} else {
//actions to be executed when password is right goes here
}
} else {
trace ("You Are Not Authorized!!")
}
*Originally posted by ahmed *
**you would need to use something like this:
if( i<3) {
if(psw != "sesame") {
i++
psw = ""
} else {
//actions to be executed when password is right goes here
}
} else {
trace ("You Are Not Authorized!!")
}
**
will that work for a programing a game?
i mean if i made a box and made level codes would that work on it?
can anyone tell me?
You would probably need to change the code around a little but yes it should work. Why don’t you try it out and see?
*Originally posted by Jubba *
**You would probably need to change the code around a little but yes it should work. Why don’t you try it out and see? **
okay i will try if i can’t could u possibly help me?
someone will be able to. I have too much work to do…
hmm i edited it and also added it to a form…
it didn’t work i could’t code it to triger a level:smirk: