# If..then issues - very simple i should think

**URL:** <https://forum.kirupa.com/t/if-then-issues-very-simple-i-should-think/187124>\
**Category:** Uncategorized\
**Created:** [April 26, 2006, 8:43pm UTC](https://forum.kirupa.com/t/if-then-issues-very-simple-i-should-think/187124 "2006-04-26T20:43:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsunchoo](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tsunchoo](https://forum.kirupa.com/u/tsunchoo)\
**Post date:** [April 26, 2006, 8:43pm UTC](https://forum.kirupa.com/t/if-then-issues-very-simple-i-should-think/187124/1 "2006-04-26T20:43:20Z")

</div>

I have a variable **current** which stores the current page and when the user clicks a button i just want it to check a set value linked to the button pressed (ie - home) - bascially it goes…

if **current** is not equal to **“home”** then do some actions otherwise do nothing.

i’ve never had much joy with if…then statements - it’s not like it was on my Commodore 64 anyway…

can someone help?

:thumb:
