In my opinion, making new move effects should warrant a page or topic on the wiki.
In your case, you can make use of the case rnd and pbRandom(X) in the effect, where X represents how many cases there are. In the event of lowering a random stat, you'll want to make X either 5 (Attack, Defense...