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

[harlowe] multiple conditions in an if macro

$
0
0
i'm trying to make a customizable point buy calculator - right now, this is my code:
POWER: $statPWR (if:$statPWR is < 16 and $pointTotal is > 0)[(link-repeat:"[increase]")[(set:$statPWR to it + 1)]] (if:$statPWR > 6)[(link-repeat:"[decrease]")[(set:$statPWR to it - 1)]]

i'm trying to get that if statement to work - for the time being, i'm going to try nesting the if statements, but i'd like a better solution.

edit: i was being dumb, my friend helped me out, it's working now. i don't know how to delete a post, if that's something you can do, but this is resolved.

Viewing all articles
Browse latest Browse all 1844

Trending Articles