# If/Else scripting help needed!

**URL:** <https://forum.kirupa.com/t/if-else-scripting-help-needed/163015>\
**Category:** Uncategorized\
**Created:** [September 19, 2005, 12:48am UTC](https://forum.kirupa.com/t/if-else-scripting-help-needed/163015 "2005-09-19T00:48:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ree\_Ree](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ree_ree/32/545_2.png) [@Ree\_Ree](https://forum.kirupa.com/u/Ree_Ree)\
**Post date:** [September 19, 2005, 12:48am UTC](https://forum.kirupa.com/t/if-else-scripting-help-needed/163015/1 "2005-09-19T00:48:11Z")

</div>

Hi! I’m quite new to scripting so was wondering if someone could take a quick peek at my script to make a password go to a wrong and a right frame label. I’ve used the tutorial on here but its coming up with syntax errors, I know its probably something really simple. Any help would be great, Thanks very much : )

My code…

on (release) {  
}  
If (password == “academy”);  
gotoAndPlay(“right”);  
} Else {  
gotoAndPlay(“wrong”);  
End If;  
End On;  
}
