I believe you can replace > /msg chanserv with
/cs
As a matter of fact, using the command char (/) is unnecessary.