You're not assigning anything to msg. And your ifs are only running when cmd is equal to : or /me, not when it starts with them.
In response to Khyberkitsune
Khyberkitsune wrote:
Well, it compiled, but it didn't work. I understand now that anything after : or /me is stopped altogether in waiting for something else. Recommendations on how to bypass this for avoiding the need to bring up some sort of input field?

http://www.byond.com/developer/Alathon/Alaparser

Try looking into this Alathon made a pretty great parser afew years ago I personally use it for my mud although ive modified it heavily its a great start.
Page: 1 2