Need Help with random Number Bot

It is planned to add a $(rand) variable to custom commands, but it is not possible at this time without using the $(customapi) variable. Since you are not familiar with programming, I cannot guide you on creating an plaintext output that Nightbot can ingest with its $(customapi) variable. You might be able to ask for this in Useful Custom APIs