Line 3: | Line 3: | ||
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. | 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. | ||
http://www.ccs.neu.edu/home/roderic/tmw/commands.diff | |||
http://www.ccs.neu.edu/home/roderic/tmw/server.diff |
Revision as of 16:21, 7 June 2008
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.