on the script the
if ($2 == $something)
u have them like this
if($2 == $something)
so it won't work
on *:TEXT:!random*:#:{
if ($2 == number)
msg $chan $rand(1,10) %+ $rand(1,10) $+ $rand(1,10)
if ($2 == text)
msg $chan $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z)
if ($2 == $null)
msg $chan $nick Please select either Number or Word.
}