Template:Pseudorand
From Twilight Heroes Wiki
This template accepts one parameter X, and will return a different number every time it is used, between 0 and X-1. However, the number isn't random, it is based on the current time.
For example, {{pseudorand|13}} returns 10.