Making random choices

How would I make a random function that has a % chance like below:
10% find something
60% get into fight
30% do nothing

And how do I get a variable and put it in a text box with other words?
eg, I like “var”