# Multiple if statements at once

**URL:** <https://forum.kirupa.com/t/multiple-if-statements-at-once/217685>\
**Category:** Uncategorized\
**Created:** [March 1, 2007, 1:17am UTC](https://forum.kirupa.com/t/multiple-if-statements-at-once/217685 "2007-03-01T01:17:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indiasfinest](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@indiasfinest](https://forum.kirupa.com/u/indiasfinest)\
**Post date:** [March 1, 2007, 1:17am UTC](https://forum.kirupa.com/t/multiple-if-statements-at-once/217685/1 "2007-03-01T01:17:03Z")

</div>

i searched because i thought i saw this thread but found no luck. how can i do this.  
to clarify i want to say something like  
onClipEvent (enterFrame) {  
if (x=1) and (y = 1)  
{trace (“x and y equal 1”)}  
else  
{trace (“x and y dont equal 1”)}

thanks, also  
i googled it as well but didnt quite find the things i wanted to
