WatchNon-threaded

Forums » Advanced Editor Forum » Read Message

Talk about it. Ask for help on it. Compliment it.

How do you code "between"?

3 months ago

Hi!

I'm trying to create random encounters, but I don't know how to code "between"... For example, it doesn't works when I write :

%RAND := 1D100?

IF %RAND > 0 < 51 THEN
BEGIN
%LASTPAGEID := $PAGEID
$DEST := @P10
END

So what is the code to write "between" ?

How do you code "between"?

3 months ago
IF %RAND > 0 AND IF %RAND < 51 THEN

How do you code "between"?

3 months ago

This, except you need to change AND to THEN.

How do you code "between"?

3 months ago

It works, thank you very much!