# + if \< = if \>

**URL:** <https://forum.kirupa.com/t/if-if/171327>\
**Category:** Uncategorized\
**Created:** [December 4, 2005, 1:33pm UTC](https://forum.kirupa.com/t/if-if/171327 "2005-12-04T13:33:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravmaster](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@Ravmaster](https://forum.kirupa.com/u/Ravmaster)\
**Post date:** [December 4, 2005, 1:33pm UTC](https://forum.kirupa.com/t/if-if/171327/1 "2005-12-04T13:33:56Z")

</div>

so far i have this

```php
on(release){
		if (hp <= maxhp){
				_root.hp+=100;
		} else if (hp >= maxhp){
			_root.hp==maxhp;
			   
		}
}

```

it dont work though…
