I was going to start text based game for practice, and while i was just thinking about how i could make it all work, i was wondering is there anyway to call a random funciton? like if i make a random number 1-5 if its 1 rat() is called ect?... i seems every time i poste a question i come up with a good answer half way through, but any help is apreciated