I think you are searching for something like this :
IF %BLEEDING >= 100 AND %BLEEDING < 200 THEN
BEGIN
$PAGETEXT := $PAGETEXT +"You're bleeding."
END
Making it inline is a bit dirty so maybe translate it to a better looking temporary variable that just represent the output like :
- pagescript : assign temp variable with needed output (if 1-6:tempOutput = 1 elseif 7-9:tempOutput = 2 etc...)
- embedded script in page : if(tempOutput == 1) display1 ?elseif (tempOutput ==2) display2 etc. etc.
plus, it strips the business logic outside of the display layer, which is common good practice when coding scripting.
nb: I'm a newb too, so maybe there is a better way to do it.