I’m making a small, survival-based game.
Now what I want to know is how can I hide specific text from showing.
Here’s an example.
echo Character:
echo.
echo Your hunger level is %hunger% out of 100.
If the variable hunger equals 90, I want to show: “You are starving” underneath, but when it’s less I want it to not show at all.
How do I do this?
1 Answer