Conditional Variable - Less than 10 but more than 1?

EDIT: I just realised I have RPG Maker XP not VX, sorry about that!

Hi there,

I'm in the process of creating a kind of "infamy" system, and to test it I have an NPC that will raise a characters stat (renamed to infamy) each time it's clicked. Then to test how it will work with conditional branches I have an NPC that can "check" the amount of infamy the player has and issues responses based on how much.

I have a conditional branch using the players Def (infamy) as a variable showing if infamy is <=10 to show a specific text box, and again for <=20 etc but I've realised that because it's looking for less than those numbers, it will just show all the text boxes anyway.

How can I change the conditional to check the variables for Less than say 10 but more than 1, Less than 20 but more than 10 etc?
I'm not familiar with xp but using the basic commands you can probably do something like that :
Code:
if > 1
  then if <= 10
       else if <= 20
...
less than 10 implies less than 20.
Code:
if var <= 20
 (....)
 if var <= 10
  (...)
 end #check for 10
end #check for 20

I've moved this thread to XP Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-variable-less-than-10-but-more-than-1.95334/