I am having a hard time finding some code to make a random word generator. I want the user to be able to click a button, and have a randomly generated sentance of the words (3 or more), with mabye the possibility to choose how many words the sentance has.

=Can anyone help me out?

I am trying to use this wordlist.


Ticket","Horse","Rope","Scale","Fan","Sack","Sausage","Scale","Seal","School","Saw","Palace","Flag","Tent","Ear","Text","Eye","Stamp","Gloves","Gun","Grass","Sword","Ditch","

Dove","Duck","Panda","Wire","Netting","Pistol","Coin","Cow","Flute","Spoon","Ice","Key","Knife","Watermelon","Socks","Verse","Rain","Brick","Cabbage","Camel","Cat","Leaf","Shee

t","Stone","Street","Work","Tounge","Tool","Thunder","Rice","Chain","Chalk","Word","Wood","Chess","Spade","Lotus","Root","Story","Sheep","Stool","Bean","Curd","Chopsticks","Roc

ket","Room","Steamed","Breed","Luggage","Ship","Rubbish","Beefsteak","Article","Troops","Black","Shoes","Map","Match","Skirt","Melon","Ship","Meat","Boxx","Well","Shop","Book",

"Bone","Tooth","Toothpaste","Rope","Road","Tractor","Bear","Beer","Abacus","Tower","Wharf","Arm","Arrow","Watch","Mooncake","Cake","Tree","Rubber","Axe","River","Nail","Basket"

,"Bank","Wall","Mountain","Mouth","Mouse","Muffler","Mud","Train","Nose"



Thankyou!

-Neil