# Compared stats check

**URL:** <https://forum.choiceofgames.com/t/compared-stats-check/60539>\
**Category:** ChoiceScript Help\
**Created:** [July 20, 2019, 8:12pm UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539 "2019-07-20T20:12:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Interestedparty](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/interestedparty/32/4884_2.png) [@Interestedparty](https://forum.choiceofgames.com/u/Interestedparty)\
**Post date:** [July 20, 2019, 8:12pm UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539/1 "2019-07-20T20:12:18Z")

</div>

Is there a way to make a check between 2 different stats?

Like  
\*If (stat1 \> stat2)

I wasn’t able to find anything about it on the choicescript wiki, so I’m not sure if it’s there and I’m just not seeing it or if it’s just not a feature.

---

<div class="post-metadata">

**Author:** ![anon8836198](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@anon8836198](https://forum.choiceofgames.com/u/anon8836198)\
**Post date:** [July 20, 2019, 8:35pm UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539/2 "2019-07-20T20:35:36Z")

</div>

As long as they’re the same type

> [@Interestedparty](#):
>
> \*If (stat1 \> stat2)

this should work for value comparison.

---

<div class="post-metadata">

**Author:** ![Interestedparty](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/interestedparty/32/4884_2.png) [@Interestedparty](https://forum.choiceofgames.com/u/Interestedparty)\
**Post date:** [July 20, 2019, 9:00pm UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539/3 "2019-07-20T21:00:38Z")

</div>

Odd, didn’t seem to work for me before.

Must have been putting it in wrong.

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [July 21, 2019, 1:12am UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539/4 "2019-07-21T01:12:10Z")

</div>

Don’t capitalize commands

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/choiceofgames/original/3X/e/f/efe1497a762edecdb6d569a1c4abee87508bf002.png) [@system](https://forum.choiceofgames.com/u/system)\
**Post date:** [July 22, 2019, 1:12am UTC](https://forum.choiceofgames.com/t/compared-stats-check/60539/5 "2019-07-22T01:12:11Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
