Pause system for random time?

So I'm creating a text based rpg and the player can search for potions. Right now,you find a random amount of potions instantly, but I was wondering if I could randomly generate a number using (rand()%5)+1;, and then set that number to pause the console for that amount of time to make it seem like the player is actually searching for potions. Does anyone know of anything like this?
Once again, you are amazing.
haha I get it:P
I do wish people would google things before posting.
No harm done, anyhow.

</thread>
Topic archived. No new replies allowed.