Well, actionaz can run other programs right?
You could do a random number generator in C++, infact its really easy because it's already implemented in the libraries
get these three libraries:
#include <iostream>
#include <cstdlib>
#include <time.h>
and then the function "rand()" will give you a random number
but you want to get acurate results, so you could use this:
number = rand() % (max - min + 1) + min;
max is a defined constant wich is the number of "choosable objects" you got, and min should always be =1
well this is not actionaz but... maybe it helps you, hope so
PD: I'm not sure that funcction excludes 0, so you may try with a short range (max=3) and if you get any zero, put max one number less and then make a number=number+1; line