It looks like you're new here. If you want to get involved, click one of these buttons!
(set: $variableName to random(0,10))
(set: $someVariable to $someVariable - random(0,10))
I’ve used this syntax plenty of times without error, and not I can’t figure out what’s wrong.Can’t find variable: random
Comments
You should probably try something like:
If the lower bound is 0, you can omit it, by the way.
Just checked this, though, and it does work (thank you!). But the macro does, in fact, require two parameters to work without error:
@timsamoff: Could you open a issue related to the problem you found with (random:)'s second parameter not being optional.
https://bitbucket.org/_L_/harlowe/issues/87/random-macro-requires-two-variable