*create variable
*rand variable 0 7 (Will pick a random number between (and including) 0 and 7)
*if variable = 3
something happens
*elseif variable > 3
something else happens
*elseif variable < 3
something else happens
There are many things you could choose here.
Edit: Be sure to place the *create command in the startup.txt file