ur missing an end bracket :/
also for the !random and !trhillride instead of doing set %em $rand(1,4) you could do
on *:text:!random:#: msg # $gettok(i like pie|WHEEEEEEEEHOOOOOOOO!|$me slaps $nick|i like gerbils|i like Cows|people scare me!,$r(1,6),124)
note that i havnt tested that