WatchNon-threaded

Forums » Advanced Editor Forum » Read Message

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

How do you code "between"?

one year 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"?

one year ago
IF %RAND > 0 AND IF %RAND < 51 THEN

How do you code "between"?

one year ago

This, except you need to change AND to THEN.

How do you code "between"?

one year ago

It works, thank you very much!