on *:TEXT:hello:#: { var %rand = $rand(1,how many you want) if ( %rand == 1 ) { //do something } if( %rand == 2 ) { //do something } // and so on }