-
Ok, I have this a login type thing going on. Im loading varibles from a txt file. Everything loads fine and is where it is supose to be.
Im trying to set up an If, If statement.
So If The First 'IF' is right it goes to the second and so on.
This is My script so far.
On (Release)
If ("/:name" eq "Billy")
If ("/:'pw" eq "1515") ===== Remove the ' in /:'p=====
Go to and Stop (5)
End If
Else
Go to and Stop ("wrongid")
End If
End On
After you enter you name & pw, It Goes to the 'wrongid' label, then when you try it again it works correctly???
The 'wrongid' frame shows the User name & Password Fields and a Note that Reads "User Name or Password incorrect. Which Allows the user to try again.
Why is it making the me try it twice? before it shows the Correct Frame.
chad
-
Registered User
Yes, it evaluates that way, one if after another.
You should use this:
If ("/:name" eq "Billy" and "/:pw" eq "1515")
go to and stop (5)
Else
go to and stop ("wrongid")
Isn't it easyer?
Boris
[swf width="300" height="40" background="#FFDDBB"]http://web.vip.hr/boriszdero.vip/footer6.swf[/swf]
-
Hmmm
Tryed that, now it goes straight to the Wrong Id
This is what I have now:
On (Release)
If ("/:name" eq "Billy" and "/w" eq "1515")
Go to and Stop ("logged")
Else
Go to and Stop ("wrongid")
End If
End On
??
-
Got it to work..
On (Release)
If (/:name eq "Billy" and /w eq "1515")
Go to and Stop ("logged")
Else
Go to and Stop ("wrongid")
End If
End On
Thanks!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|