This is easily done with a script.
Presuming that your information is correct, then this should do what you want.
on ^*:text:*:#:{
.echo $chan $remove($1,$chr(40),$chr(41)) $2-
haltdef
}
NOTE: This will produce the same type of output no matter what the text is and no matter what channel.