The Advanced Random plugin is really useful for a variety of things, notably procedural generation via its noise-generation functions. But it also allows you to build Permutation and Probability tables. We'll be focussing on Permutation tables in this tutorial but you can check out this one if you want to learn about Probability tables.
A permutation table is simply a sequence of numbers that are randomly ordered. This is useful for retrieving random, non-repeating numbers. For example, you could use the numbers 0-51 to represent a deck of cards and create a permutation table to represent a shuffled deck of cards. Then if you read through the permutation table in order with the Permutation expression, it will return a random sequence of cards, like dealing from a shuffled deck – we'll be turning this into an example in this tutorial.
One of the other handy things you can do with a permutation table is shuffle it again once you've created it. I've not included that functionality in this tutorial, but you could use it in a card game if you wanted to reshuffle the deck as you play.