Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Môsi

A tiny game editor you can use on your phone or in your browser · By sg

all-true, any-true and none-true scripts don't seem to work with variables or items

A topic by squali created May 09, 2021 Views: 181 Replies: 5
Viewing posts 1 to 2

(Hi! First of all, thank you for such an amazing tool. I'm telling people about it, because I think it's a shame that it's not as well known as Bitsy).

I've been testing it out, and when I do something like:

{if {any-true {eq {var x} 1} {eq {var x} 2}}} print this.

It doesn't print when var x equals 1 or 2, and the same goes for items instead of variables. What am I doing wrong? Or is it that Môsi doesn't expect this amount of script nesting?

Thank you!

Developer

Thanks! I'll take a look at this sometime this week

Thank you! :-)

Developer

Alright, I think I fixed it - let me know if it's working for you now! (I also took the opportunity to lower the music volume to be more reasonable)

Okay, I'm not sure what you fixed, because I realized just now that the last time I tested it, it was in a set of several {if} statements that were missing the closing {/if} tag 😰. It runs fine now that I closed them. So it has probably been my fault! Not sure how I've let this slip through, I've been using properly closed {if}s in this tool for more than a month now.

I think it didn't work in other tests I did, but I really can't remember if I properly closed the if statements in those. Sorry and thank you very much for looking into it! 🌼

Developer(+1)

No worries! Glad you figured it out! There seemed to be one case that didn't work as-is, but at the very least I changed the code up to be more readable/understandable (at least to me).