Now try to put that in the console.
messageAll("\c6The random number is:\c3" SPC getRandom(1,50) @ "\c6.");