I seem to have missed a digit:

This should be random

raw 323:*:{
write -c @chanlist.txt
savebuf @chanlist1 @chanlist.txt
clear @chanlist1
reversesort
.timerrelist 1 $r(60,120) chanrelist
}