Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

array does NOT contain

$
0
0
Working on a project in Harlowe and have a question about arrays. Is there a way to build an "if" statement with an array that checks to see if the array does NOT contain an item? The opposite of "contain"?

I'm hoping that I just don't have a full syntactical understanding and such a thing exists: https://twine2.neocities.org/#type_array

The opposite of: (if: $bag contains "book")[do stuff]

Viewing all articles
Browse latest Browse all 1844

Trending Articles