/* pubtab.h * (C) Peter Salanki 2004 * This program is copyright, and covered by the Gnu Public License. * The Natasha bot. * sorcer@linux.se */ void p_me (char *a, struct arm *arm); void p_date (char *a, struct arm *arm); void p_tv (char *a, struct arm *arm); void p_google (char *a, struct arm *arm); void p_peak (char *a, struct arm *arm); void p_quote (char *a, struct arm *arm); void p_vote (char *a, struct arm *arm); void p_stats (char *a, struct arm *arm); void p_chaninfo (char *a, struct arm *arm); #ifdef MODULE_bash void p_tickets (char *a, struct arm *arm); void p_sz (char *a, struct arm *arm); void p_gz (char *a, struct arm *arm); #endif void p_netstat (char *a, struct arm *arm); struct PubMsgtabEntry { char *msg; void (*func) (char *a, struct arm *arm); char *summary; char *help; int level; }; struct PubMsgtabEntry pubtab[] = { {"ME", p_me, "Execute some of the commands to the bot using instead of messaging the bot.", "%s [values]\n", NORMAL}, {"!date", p_date, "Shows current date and time.", "Shows current date and time, GMT +1. Requeries +infobot on the channel.\n", UNAUTHED}, {"!tv", p_tv, "Check what is on Swedish TV at the moment.", "Shows current shows on Swedish TV. Needs +tv on the channel.\n", UNAUTHED}, {"!google", p_google, "Search google for something.", "!google - Searches google for and outputs the two first matches.\n", UNAUTHED}, {"!peak", p_peak, "Check the channel peak.", "!peak - Needs +peak on the channel.\n", UNAUTHED}, {"!quote", p_quote, "Show, add or delete a quote.", "!quote - Needs +quotes on the channel.\nUse !quote to show a random quote.\nUse !quote add to add a quote.\nUse !quote del to delete a quote.\n", UNAUTHED}, {"!vote", p_vote, "Channel voting command..", "!vote - Possible commands are: !vote start, !vote stop, !vote status, !vote yes and !vote no. !vote start