User:Roderic/commandhandler

From The Mana World
Revision as of 16:15, 7 June 2008 by Roderic (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

These diffs add a commandhandler class and moves all that command parsing code out of the chat window. It adds a listusers and listchannels command, changes the /register command to /channel and lets you set up channels with passwords and announcements, and adds some helper functions to the chat window. When you join a channel, it'll now give you the announcement, and list the users in that channel. David, I had to change ChatHandler::handleListChannelUsersResponse to actually list the users. There was some guild related stuff in it, so it might break something on that front, though i didn't see any crashes. Finally, I haven't had to add files to subversion before, so are there any other properties i should set, and did I set the id tag properly?


So, I'll commit this if noone has any critique for it. Also, I still didn't hear anything about how people feel about moving away from /admin and just having forward slashes for all commands.