def pingcommand_main(event) event.respond "Ping!" end def pingcommand_getCommand() return ["ping", "pingcommand_main"] end