Set Random Proxy

I’ve been trying to make an applescript that will set my computer’s proxy to a random one from a pre-set list, any ideas on how to do this?

If you have a list, then the adjective “some” selects from that list at random:

set myList to {"John", "Hank", "Jane", "Bill", "Sam"}
set aRandomName to some item of myList