Showing/hiding events with variables

Another simple question, for which I apologize.

How can I make an event which does not appear when a variable is set to a specific number?

Right now it seems I can only set the event to appear when the variable is at a specific number or above. But what if the variable could range between, say, 1 and 8, and I want the event to not appear when the variable is set to exactly 3?
you need several pages, and they need to be ordered by increasing values.


first page condition variable 1 or higher


second page condition variable 3 or higher


third page condition variable 4 or higher


first and third page get a sprite, through OFF, priority as player


second page will have no sprite, through ON, priority above player


the player will never detect that event if the variable is exactly 3
Ah, thanks! That's really useful.

Another possible solution I came up with in the meantime involved conditional branches (which seem to let me specify exact variables) and a self switch. It appeared to work (can't recall the exact details and I'm not at that computer now) although it did lock up the game when I accidentally had it set to autorun instead of parallel process!

This does look like a more elegant solution though, so thank you very much for your help!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/showing-hiding-events-with-variables.24453/