If you want to use rnd in a file, then you have to import the needed module in THIS file, otherwise the command is not known in it.
This is because each bmx is compiled on its own and linked with the commands imported.
This is because each bmx is compiled on its own and linked with the commands imported.