static void bs_help_set(sourceinfo_t *si, const char *subcmd) { if (!subcmd) { command_success_nodata(si, _("***** \2%s Help\2 *****"), si->service->disp); command_success_nodata(si, _("Help for \2SET\2:")); command_success_nodata(si, " "); command_success_nodata(si, _("Configures different botserv bot options.")); command_success_nodata(si, " "); command_help(si, bs_set_cmdtree); command_success_nodata(si, " "); command_success_nodata(si, _("For more specific help use \2/msg %s HELP SET \37command\37\2."), si->service->disp); command_success_nodata(si, _("***** \2End of Help\2 *****")); } else help_display_as_subcmd(si, si->service, "SET", subcmd, bs_set_cmdtree); }
static void gs_help_set(sourceinfo_t *si, const char *subcmd) { if (!subcmd) { command_success_nodata(si, _("***** \2%s Help\2 *****"), si->service->disp); command_success_nodata(si, _("Help for \2SET\2:")); command_success_nodata(si, " "); command_success_nodata(si, _("SET allows you to set various control flags\n" "for groups that change the way certain\n" "operations are performed on them.")); command_success_nodata(si, " "); command_help(si, gs_set_cmdtree); command_success_nodata(si, " "); command_success_nodata(si, _("For more specific help use \2/msg %s HELP SET \37command\37\2."), si->service->disp); command_success_nodata(si, _("***** \2End of Help\2 *****")); } else help_display_as_subcmd(si, si->service, "SET", subcmd, gs_set_cmdtree); }
/* HELP SET */ static void os_help_set(sourceinfo_t *si, const char *subcmd) { if (!subcmd) { command_success_nodata(si, _("***** \2%s Help\2 *****"), si->service->nick); command_success_nodata(si, _("Help for \2SET\2:")); command_success_nodata(si, " "); command_success_nodata(si, _("SET allows you to set various control flags\n" "for services that changes the way certain\n" "operations are performed.")); command_success_nodata(si, _("Note that all settings will be reset to the values\n" "in the configuration file on rehash or services restart.")); command_success_nodata(si, " "); command_help(si, os_set_cmdtree); command_success_nodata(si, " "); command_success_nodata(si, _("For more information, use \2/msg %s HELP SET \37command\37\2."), si->service->nick); command_success_nodata(si, _("***** \2End of Help\2 *****")); } else help_display_as_subcmd(si, si->service, "SET", subcmd, os_set_cmdtree); }
/* HELP SET */ static void ns_help_set(sourceinfo_t *si, const char *subcmd) { if (!subcmd) { command_success_nodata(si, _("***** \2%s Help\2 *****"), nicksvs.nick); command_success_nodata(si, _("Help for \2SET\2:")); command_success_nodata(si, " "); if (nicksvs.no_nick_ownership) command_success_nodata(si, _("SET allows you to set various control flags\n" "for accounts that change the way certain\n" "operations are performed on them.")); else command_success_nodata(si, _("SET allows you to set various control flags\n" "for nicknames that change the way certain\n" "operations are performed on them.")); command_success_nodata(si, " "); command_help(si, ns_set_cmdtree); command_success_nodata(si, " "); command_success_nodata(si, _("For more information, use \2/msg %s HELP SET \37command\37\2."), nicksvs.nick); command_success_nodata(si, _("***** \2End of Help\2 *****")); } else help_display_as_subcmd(si, si->service, "SET", subcmd, ns_set_cmdtree); }
void help_display(sourceinfo_t *si, service_t *service, const char *command, mowgli_patricia_t *list) { help_display_as_subcmd(si, service, NULL, command, list); }