Essential things to a module

A Module is a ruby class that has to have at least these methods:
x data
x GeneralMessage
x ModuleMessage
x IRCMessage
x getModuleName
x getModuleAuthor
x getModuleVersion
x getModuleDescription

And the register statement:

Module register statement
After the class you should have one more line:
to register your module to the central modules system.