msm/init
Marcus Whybrow 1a5a192f71 WIP commit on refactoring command registration.
Removes the repetitive and gigantic case statement, and adds a
register_command function. This function generates a regex for matching
that command and a handler function to call.

The entry point into the script now matches the user input against a
regex and calls the handler function.
2012-06-11 19:25:31 +01:00
..
msm WIP commit on refactoring command registration. 2012-06-11 19:25:31 +01:00