ultimate beta 3 msg update

This commit is contained in:
Mark 2004-08-24 22:48:29 +00:00
parent 35a2af8da9
commit bc022411a8
2 changed files with 171 additions and 328 deletions

View file

@ -52,6 +52,7 @@ static void m_pass (char *origin, char **argv, int argc, int srv);
static void m_svsnick (char *origin, char **argv, int argc, int srv);
static void m_protoctl (char *origin, char **argv, int argc, int srv);
static void m_svinfo (char *origin, char **argv, int argc, int srv);
static void m_netinfo (char *origin, char **argv, int argc, int srv);
static void m_burst (char *origin, char **argv, int argc, int srv);
static void m_sjoin (char *origin, char **argv, int argc, int srv);
static void m_client (char *origin, char **argv, int argc, int srv);
@ -78,45 +79,40 @@ ProtocolInfo protocol_info = {
"+a",
};
/* Ultimate 2 does support these 5 tokens so may need to add them back
* in at some point
* TOK_MODE, TOK_JOIN, TOK_NICK, TOK_AWAY, TOK_TOPIC
*/
ircd_cmd cmd_list[] = {
/* Command Token Function usage */
{MSG_PRIVATE, 0, m_private, 0},
{MSG_NOTICE, 0, m_notice, 0},
{MSG_STATS, 0, m_stats, 0},
{MSG_SETHOST, 0, m_vhost, 0},
{MSG_VERSION, 0, m_version, 0},
{MSG_MOTD, 0, m_motd, 0},
{MSG_ADMIN, 0, m_admin, 0},
{MSG_CREDITS, 0, m_credits, 0},
{MSG_SERVER, 0, m_server, 0},
{MSG_SQUIT, 0, m_squit, 0},
{MSG_QUIT, 0, m_quit, 0},
{MSG_MODE, TOK_MODE, m_mode, 0},
{MSG_SVSMODE, 0, m_svsmode, 0},
{MSG_KILL, 0, m_kill, 0},
{MSG_PONG, 0, m_pong, 0},
{MSG_AWAY, TOK_AWAY, m_away, 0},
{MSG_NICK, TOK_NICK, m_nick, 0},
{MSG_TOPIC, TOK_TOPIC, m_topic, 0},
{MSG_KICK, 0, m_kick, 0},
{MSG_JOIN, TOK_JOIN, m_join, 0},
{MSG_PART, 0, m_part, 0},
{MSG_PING, 0, m_ping, 0},
{MSG_SVINFO, NULL, m_svinfo, 0},
{MSG_CAPAB, NULL, m_protoctl, 0},
{MSG_BURST, NULL, m_burst, 0},
{MSG_SJOIN, NULL, m_sjoin, 0},
{MSG_CLIENT, NULL, m_client, 0},
{MSG_SMODE, NULL, m_smode, 0},
{MSG_VCTRL, 0, m_vctrl, 0},
{MSG_PASS, 0, m_pass, 0},
{MSG_SVSNICK, 0, m_svsnick, 0},
{MSG_PROTOCTL, 0, m_protoctl, 0},
{MSG_PRIVATE, 0, m_private, 0},
{MSG_NOTICE, 0, m_notice, 0},
{MSG_STATS, 0, m_stats, 0},
{MSG_SETHOST, 0, m_vhost, 0},
{MSG_VERSION, 0, m_version, 0},
{MSG_MOTD, 0, m_motd, 0},
{MSG_ADMIN, 0, m_admin, 0},
{MSG_CREDITS, 0, m_credits, 0},
{MSG_SERVER, 0, m_server, 0},
{MSG_SQUIT, 0, m_squit, 0},
{MSG_QUIT, 0, m_quit, 0},
{MSG_MODE, 0, m_mode, 0},
{MSG_SVSMODE, 0, m_svsmode, 0},
{MSG_KILL, 0, m_kill, 0},
{MSG_PONG, 0, m_pong, 0},
{MSG_AWAY, 0, m_away, 0},
{MSG_NICK, 0, m_nick, 0},
{MSG_TOPIC, 0, m_topic, 0},
{MSG_KICK, 0, m_kick, 0},
{MSG_JOIN, 0, m_join, 0},
{MSG_PART, 0, m_part, 0},
{MSG_PING, 0, m_ping, 0},
{MSG_SVINFO, 0, m_svinfo, 0},
{MSG_CAPAB, 0, m_protoctl, 0},
{MSG_BURST, 0, m_burst, 0},
{MSG_SJOIN, 0, m_sjoin, 0},
{MSG_CLIENT, 0, m_client, 0},
{MSG_SMODE, 0, m_smode, 0},
{MSG_NETINFO, 0, m_netinfo, 0},
{MSG_VCTRL, 0, m_vctrl, 0},
{MSG_PASS, 0, m_pass, 0},
{MSG_SVSNICK, 0, m_svsnick, 0},
{0, 0, 0, 0},
};
@ -245,7 +241,7 @@ send_join (const char *who, const char *chan, const unsigned long ts)
void
send_cmode (const char *source, const char *who, const char *chan, const char *mode, const char *args, const unsigned long ts)
{
send_cmd (":%s %s %s %s %s %lu", who, MSGTOK(MODE), chan, mode, args, ts);
send_cmd (":%s %s %s %s %s %lu", who, MSG_MODE, chan, mode, args, ts);
}
void
@ -263,7 +259,7 @@ send_ping (const char *from, const char *reply, const char *to)
void
send_umode (const char *who, const char *target, const char *mode)
{
send_cmd (":%s %s %s :%s", who, MSGTOK(MODE), target, mode);
send_cmd (":%s %s %s :%s", who, MSG_MODE, target, mode);
}
void
@ -278,12 +274,6 @@ send_pong (const char *reply)
send_cmd ("%s %s", MSG_PONG, reply);
}
void
send_snetinfo (const char* from, const int prot, const char* cloak, const char* netname, const unsigned long ts)
{
send_cmd (":%s %s 0 %lu %d %s 0 0 0 :%s", from, MSG_SNETINFO, ts, prot, cloak, netname);
}
void
send_netinfo (const char* from, const int prot, const char* cloak, const char* netname, const unsigned long ts)
{
@ -311,7 +301,7 @@ send_svskill (const char *source, const char *target, const char *reason)
void
send_nickchange (const char *oldnick, const char *newnick, const unsigned long ts)
{
send_cmd (":%s %s %s %lu", oldnick, MSGTOK(NICK), newnick, ts);
send_cmd (":%s %s %s %lu", oldnick, MSG_NICK, newnick, ts);
}
void
@ -563,6 +553,12 @@ m_svinfo (char *origin, char **argv, int argc, int srv)
do_svinfo ();
}
static void
m_netinfo (char *origin, char **argv, int argc, int srv)
{
do_netinfo(argv[0], argv[1], argv[2], argv[3], argv[7]);
}
static void
m_pass (char *origin, char **argv, int argc, int srv)
{

View file

@ -26,292 +26,139 @@
#define ULTIMATE_H
/* Messages/Tokens */
#define MSG_PRIVATE "PRIVMSG" /* PRIV */
#define TOK_PRIVATE "!" /* 33 */
#define MSG_WHO "WHO" /* WHO -> WHOC */
#define TOK_WHO "\"" /* 34 */
#define MSG_WHOIS "WHOIS" /* WHOI */
#define TOK_WHOIS "#" /* 35 */
#define MSG_WHOWAS "WHOWAS" /* WHOW */
#define TOK_WHOWAS "$" /* 36 */
#define MSG_USER "USER" /* USER */
#define TOK_USER "%" /* 37 */
#define MSG_NICK "NICK" /* NICK */
#define TOK_NICK "&" /* 38 */
#define MSG_SERVER "SERVER" /* SERV */
#define TOK_SERVER "'" /* 39 */
#define MSG_LIST "LIST" /* LIST */
#define TOK_LIST "(" /* 40 */
#define MSG_TOPIC "TOPIC" /* TOPI */
#define TOK_TOPIC ")" /* 41 */
#define MSG_INVITE "INVITE" /* INVI */
#define TOK_INVITE "*" /* 42 */
#define MSG_VERSION "VERSION" /* VERS */
#define TOK_VERSION "+" /* 43 */
#define MSG_QUIT "QUIT" /* QUIT */
#define TOK_QUIT "," /* 44 */
#define MSG_SQUIT "SQUIT" /* SQUI */
#define TOK_SQUIT "-" /* 45 */
#define MSG_KILL "KILL" /* KILL */
#define TOK_KILL "." /* 46 */
#define MSG_INFO "INFO" /* INFO */
#define TOK_INFO "/" /* 47 */
#define MSG_LINKS "LINKS" /* LINK */
#define TOK_LINKS "0" /* 48 */
#define MSG_WATCH "WATCH" /* WATCH */
#define TOK_WATCH "1" /* 49 */
#define MSG_STATS "STATS" /* STAT */
#define TOK_STATS "2" /* 50 */
#define MSG_HELP "HELP" /* HELP */
#define MSG_HELPOP "HELPOP" /* HELP */
#define TOK_HELP "4" /* 52 */
#define MSG_ERROR "ERROR" /* ERRO */
#define TOK_ERROR "5" /* 53 */
#define MSG_AWAY "AWAY" /* AWAY */
#define TOK_AWAY "6" /* 54 */
#define MSG_CONNECT "CONNECT" /* CONN */
#define TOK_CONNECT "7" /* 55 */
#define MSG_PING "PING" /* PING */
#define TOK_PING "8" /* 56 */
#define MSG_PONG "PONG" /* PONG */
#define TOK_PONG "9" /* 57 */
#define MSG_OPER "OPER" /* OPER */
#define TOK_OPER ";" /* 59 */
#define MSG_PASS "PASS" /* PASS */
#define TOK_PASS "<" /* 60 */
#define MSG_WALLOPS "WALLOPS" /* WALL */
#define TOK_WALLOPS "=" /* 61 */
#define MSG_TIME "TIME" /* TIME */
#define TOK_TIME ">" /* 62 */
#define MSG_NAMES "NAMES" /* NAME */
#define TOK_NAMES "?" /* 63 */
#define MSG_ADMIN "ADMIN" /* ADMI */
#define TOK_ADMIN "@" /* 64 */
#define MSG_NOTICE "NOTICE" /* NOTI */
#define TOK_NOTICE "B" /* 66 */
#define MSG_JOIN "JOIN" /* JOIN */
#define TOK_JOIN "C" /* 67 */
#define MSG_PART "PART" /* PART */
#define TOK_PART "D" /* 68 */
#define MSG_LUSERS "LUSERS" /* LUSE */
#define TOK_LUSERS "E" /* 69 */
#define MSG_MOTD "MOTD" /* MOTD */
#define TOK_MOTD "F" /* 70 */
#define MSG_MODE "MODE" /* MODE */
#define TOK_MODE "G" /* 71 */
#define MSG_KICK "KICK" /* KICK */
#define TOK_KICK "H" /* 72 */
#define MSG_SERVICE "SERVICE" /* SERV -> SRVI */
#define TOK_SERVICE "I" /* 73 */
#define MSG_USERHOST "USERHOST" /* USER -> USRH */
#define TOK_USERHOST "J" /* 74 */
#define MSG_ISON "ISON" /* ISON */
#define TOK_ISON "K" /* 75 */
#define MSG_SQUERY "SQUERY" /* SQUE */
#define TOK_SQUERY "L" /* 76 */
#define MSG_SERVLIST "SERVLIST" /* SERV -> SLIS */
#define TOK_SERVLIST "M" /* 77 */
#define MSG_SERVSET "SERVSET" /* SERV -> SSET */
#define TOK_SERVSET "N" /* 78 */
#define MSG_REHASH "REHASH" /* REHA */
#define TOK_REHASH "O" /* 79 */
#define MSG_RESTART "RESTART" /* REST */
#define TOK_RESTART "P" /* 80 */
#define MSG_CLOSE "CLOSE" /* CLOS */
#define TOK_CLOSE "Q" /* 81 */
#define MSG_DIE "DIE" /* DIE */
#define TOK_DIE "R" /* 82 */
#define MSG_HASH "HASH" /* HASH */
#define TOK_HASH "S" /* 83 */
#define MSG_DNS "DNS" /* DNS -> DNSS */
#define TOK_DNS "T" /* 84 */
#define MSG_SILENCE "SILENCE" /* SILE */
#define TOK_SILENCE "U" /* 85 */
#define MSG_AKILL "AKILL" /* AKILL */
#define TOK_AKILL "V" /* 86 */
#define MSG_KLINE "KLINE" /* KLINE */
#define TOK_KLINE "W" /* 87 */
#define MSG_UNKLINE "UNKLINE" /* UNKLINE */
#define TOK_UNKLINE "X" /* 88 */
#define MSG_RAKILL "RAKILL" /* RAKILL */
#define TOK_RAKILL "Y" /* 89 */
#define MSG_GNOTICE "GNOTICE" /* GNOTICE */
#define TOK_GNOTICE "Z" /* 90 */
#define MSG_GOPER "GOPER" /* GOPER */
#define TOK_GOPER "[" /* 91 */
#define MSG_GLOBOPS "GLOBOPS" /* GLOBOPS */
#define TOK_GLOBOPS "]" /* 93 */
#define MSG_LOCOPS "LOCOPS" /* LOCOPS */
#define TOK_LOCOPS "^" /* 94 */
#define MSG_PROTOCTL "PROTOCTL" /* PROTOCTL */
#define TOK_PROTOCTL "_" /* 95 */
#define MSG_TRACE "TRACE" /* TRAC */
#define TOK_TRACE "b" /* 98 */
#define MSG_SQLINE "SQLINE" /* SQLINE */
#define TOK_SQLINE "c" /* 99 */
#define MSG_UNSQLINE "UNSQLINE" /* UNSQLINE */
#define TOK_UNSQLINE "d" /* 100 */
#define MSG_SVSNICK "SVSNICK" /* SVSNICK */
#define TOK_SVSNICK "e" /* 101 */
#define MSG_SVSNOOP "SVSNOOP" /* SVSNOOP */
#define TOK_SVSNOOP "f" /* 101 */
#define MSG_IDENTIFY "IDENTIFY" /* IDENTIFY */
#define TOK_IDENTIFY "g" /* 103 */
#define MSG_SVSKILL "SVSKILL" /* SVSKILL */
#define TOK_SVSKILL "h" /* 104 */
#define MSG_NICKSERV "NICKSERV" /* NICKSERV */
#define MSG_NS "NS"
#define TOK_NICKSERV "i" /* 105 */
#define MSG_CHANSERV "CHANSERV" /* CHANSERV */
#define MSG_CS "CS"
#define TOK_CHANSERV "j" /* 106 */
#define MSG_OPERSERV "OPERSERV" /* OPERSERV */
#define MSG_OS "OS"
#define TOK_OPERSERV "k" /* 107 */
#define MSG_MEMOSERV "MEMOSERV" /* MEMOSERV */
#define MSG_MS "MS"
#define TOK_MEMOSERV "l" /* 108 */
#define MSG_SERVICES "SERVICES" /* SERVICES */
#define TOK_SERVICES "m" /* 109 */
#define MSG_SVSMODE "SVSMODE" /* SVSMODE */
#define TOK_SVSMODE "n" /* 110 */
#define MSG_SAMODE "SAMODE" /* SAMODE */
#define TOK_SAMODE "o" /* 111 */
#define MSG_CHATOPS "CHATOPS" /* CHATOPS */
#define TOK_CHATOPS "p" /* 112 */
#define MSG_HELPSERV "HELPSERV" /* HELPSERV */
#define TOK_HELPSERV "r" /* 114 */
#define MSG_ZLINE "ZLINE" /* ZLINE */
#define TOK_ZLINE "s" /* 115 */
#define MSG_UNZLINE "UNZLINE" /* UNZLINE */
#define TOK_UNZLINE "t" /* 116 */
#define MSG_PRIVATE "PRIVMSG" /* PRIV */
#define MSG_WHO "WHO" /* WHO -> WHOC */
#define MSG_WHOIS "WHOIS" /* WHOI */
#define MSG_WHOWAS "WHOWAS" /* WHOW */
#define MSG_USER "USER" /* USER */
#define MSG_NICK "NICK" /* NICK */
#define MSG_SERVER "SERVER" /* SERV */
#define MSG_LIST "LIST" /* LIST */
#define MSG_TOPIC "TOPIC" /* TOPI */
#define MSG_INVITE "INVITE" /* INVI */
#define MSG_VERSION "VERSION" /* VERS */
#define MSG_QUIT "QUIT" /* QUIT */
#define MSG_SQUIT "SQUIT" /* SQUI */
#define MSG_KILL "KILL" /* KILL */
#define MSG_INFO "INFO" /* INFO */
#define MSG_LINKS "LINKS" /* LINK */
#define MSG_STATS "STATS" /* STAT */
#define MSG_USERS "USERS" /* USER -> USRS */
#define MSG_HELP "HELP" /* HELP */
#define MSG_ERROR "ERROR" /* ERRO */
#define MSG_AWAY "AWAY" /* AWAY */
#define MSG_CONNECT "CONNECT" /* CONN */
#define MSG_PING "PING" /* PING */
#define MSG_PONG "PONG" /* PONG */
#define MSG_OPER "OPER" /* OPER */
#define MSG_PASS "PASS" /* PASS */
#define MSG_WALLOPS "WALLOPS" /* WALL */
#define MSG_TIME "TIME" /* TIME */
#define MSG_NAMES "NAMES" /* NAME */
#define MSG_ADMIN "ADMIN" /* ADMI */
#define MSG_TRACE "TRACE" /* TRAC */
#define MSG_NOTICE "NOTICE" /* NOTI */
#define MSG_JOIN "JOIN" /* JOIN */
#define MSG_PART "PART" /* PART */
#define MSG_LUSERS "LUSERS" /* LUSE */
#define MSG_MOTD "MOTD" /* MOTD */
#define MSG_MODE "MODE" /* MODE */
#define MSG_KICK "KICK" /* KICK */
#define MSG_USERHOST "USERHOST" /* USER -> USRH */
#define MSG_ISON "ISON" /* ISON */
#define MSG_REHASH "REHASH" /* REHA */
#define MSG_RESTART "RESTART" /* REST */
#define MSG_CLOSE "CLOSE" /* CLOS */
#define MSG_SVINFO "SVINFO" /* SVINFO */
#define MSG_SJOIN "SJOIN" /* SJOIN */
#define MSG_DIE "DIE" /* DIE */
#define MSG_HASH "HASH" /* HASH */
#define MSG_DNS "DNS" /* DNS -> DNSS */
#define MSG_OPERWALL "OPERWALL" /* OPERWALL */
#define MSG_GLOBOPS "GLOBOPS" /* GLOBOPS */
#define MSG_CHATOPS "CHATOPS" /* CHATOPS */
#define MSG_GOPER "GOPER" /* GOPER */
#define MSG_GNOTICE "GNOTICE" /* GNOTICE */
#define MSG_KLINE "KLINE" /* KLINE */
#define MSG_UNKLINE "UNKLINE" /* UNKLINE */
#define MSG_HTM "HTM" /* HTM */
#define MSG_SET "SET" /* SET */
#define MSG_CAPAB "CAPAB" /* CAPAB */
#define MSG_LOCOPS "LOCOPS" /* LOCOPS */
#define MSG_SVSNICK "SVSNICK" /* SVSNICK */
#define MSG_SVSNOOP "SVSNOOP" /* SVSNOOP */
#define MSG_SVSKILL "SVSKILL" /* SVSKILL */
#define MSG_SVSMODE "SVSMODE" /* SVSMODE */
#define MSG_AKILL "AKILL" /* AKILL */
#define MSG_RAKILL "RAKILL" /* RAKILL */
#define MSG_SILENCE "SILENCE" /* SILENCE */
#define MSG_WATCH "WATCH" /* WATCH */
#define MSG_SQLINE "SQLINE" /* SQLINE */
#define MSG_UNSQLINE "UNSQLINE" /* UNSQLINE */
#define MSG_BURST "BURST" /* BURST */
#define MSG_DCCALLOW "DCCALLOW" /* dccallow */
#define MSG_SGLINE "SGLINE" /* sgline */
#define MSG_UNSGLINE "UNSGLINE" /* unsgline */
#define MSG_SETTINGS "SETTINGS" /* SETTINGS */
#define MSG_RULES "RULES" /* RULES */
#define MSG_OPERMOTD "OPERMOTD" /* OPERMOTD */
#define MSG_NETINFO "NETINFO" /* NETINFO */
#define TOK_NETINFO "u" /* 117 */
#define MSG_RULES "RULES" /* RULES */
#define TOK_RULES "v" /* 118 */
#define MSG_MAP "MAP" /* MAP */
#define TOK_MAP "w" /* 119 */
#define MSG_NETG "NETG" /* NETG */
#define TOK_NETG "x" /* 120 */
#define MSG_ADCHAT "ADCHAT" /* Adchat */
#define TOK_ADCHAT "y" /* 121 */
#define MSG_MAKEPASS "MAKEPASS" /* MAKEPASS */
#define TOK_MAKEPASS "z" /* 122 */
#define MSG_ADDHUB "ADDHUB" /* ADDHUB */
#define TOK_ADDHUB "{" /* 123 */
#define MSG_DELHUB "DELHUB" /* DELHUB */
#define TOK_DELHUB "|" /* 124 */
#define MSG_ADDCNLINE "ADDCNLINE" /* ADDCNLINE */
#define TOK_ADDCNLINE "}" /* 125 */
#define MSG_DELCNLINE "DELCNLINE" /* DELCNLINE */
#define TOK_DELCNLINE "~" /* 126 */
#define MSG_ADDOPER "ADDOPER" /* ADDOPER */
#define TOK_ADDOPER "" /* 127 */
#define MSG_DELOPER "DELOPER" /* DELOPER */
#define TOK_DELOPER "!!" /* 33 + 33 */
#define MSG_ADDQLINE "ADDQLINE" /* ADDQLINE */
#define TOK_ADDQLINE "!\"" /* 33 + 34 */
#define MSG_DELQLINE "DELQLINE" /* DELQLINE */
#define TOK_DELQLINE "!#" /* 33 + 35 */
#define MSG_GSOP "GSOP" /* GSOP */
#define TOK_GSOP "!$" /* 33 + 36 */
#define MSG_ISOPER "ISOPER" /* ISOPER */
#define TOK_ISOPER "!%" /* 33 + 37 */
#define MSG_ADG "ADG" /* ADG */
#define TOK_ADG "!&" /* 33 + 38 */
#define MSG_NMON "NMON" /* NMON */
#define TOK_NMON "!'" /* 33 + 39 */
#define MSG_DALINFO "DALINFO" /* DALnet Credits */
#define TOK_DALINFO "!(" /* 33 + 40 */
#define MSG_CREDITS "CREDITS" /* UltimateIRCd Credits and "Thanks To" */
#define TOK_CREDITS "!)" /* 33 + 41 */
#define MSG_OPERMOTD "OPERMOTD" /* OPERMOTD */
#define TOK_OPERMOTD "!*" /* 33 + 42 */
#define MSG_REMREHASH "REMREHASH" /* Remote Rehash */
#define TOK_REMREHASH "!+" /* 33 + 43 */
#define MSG_MONITOR "MONITOR" /* MONITOR */
#define TOK_MONITOR "!," /* 33 + 44 */
#define MSG_GLINE "GLINE" /* The awesome g-line */
#define TOK_GLINE "!-" /* 33 + 45 */
#define MSG_REMGLINE "REMGLINE" /* remove g-line */
#define TOK_REMGLINE "!." /* 33 + 46 */
#define MSG_STATSERV "STATSERV" /* StatServ */
#define TOK_STATSERV "!/" /* 33 + 47 */
#define MSG_RULESERV "RULESERV" /* RuleServ */
#define TOK_RULESERV "!0" /* 33 + 48 */
#define MSG_SNETINFO "SNETINFO" /* SNetInfo */
#define TOK_SNETINFO "!1" /* 33 + 49 */
#define MSG_TSCTL "TSCTL" /* TSCTL */
#define TOK_TSCTL "!3" /* 33 + 51 */
#define MSG_SVSJOIN "SVSJOIN" /* SVSJOIN */
#define TOK_SVSJOIN "!4" /* 33 + 52 */
#define MSG_SAJOIN "SAJOIN" /* SAJOIN */
#define TOK_SAJOIN "!5" /* 33 + 53 */
#define MSG_SDESC "SDESC" /* SDESC */
#define TOK_SDESC "!6" /* 33 + 54 */
#define MSG_UNREALINFO "UNREALINFO" /* Unreal Info */
#define TOK_UNREALINFO "!7" /* 33 + 55 */
#define MSG_SETHOST "SETHOST" /* sethost */
#define TOK_SETHOST "!8" /* 33 + 56 */
#define MSG_SETIDENT "SETIDENT" /* set ident */
#define TOK_SETIDENT "!9" /* 33 + 57 */
#define MSG_SETNAME "SETNAME" /* set Realname */
#define TOK_SETNAME "!;" /* 33 + 59 */
#define MSG_CHGHOST "CHGHOST" /* Changehost */
#define TOK_CHGHOST "!<" /* 33 + 60 */
#define MSG_CHGIDENT "CHGIDENT" /* Change Ident */
#define TOK_CHGIDENT "!=" /* 33 + 61 */
#define MSG_RANDQUOTE "RANDQUOTE" /* Random Quote */
#define TOK_RANDQUOTE "!>" /* 33 + 62 */
#define MSG_ADDQUOTE "ADDQUOTE" /* Add Quote */
#define TOK_ADDQUOTE "!?" /* 33 + 63 */
#define MSG_ADDGQUOTE "ADDGQUOTE" /* Add Global Quote */
#define TOK_ADDGQUOTE "!@" /* 33 + 64 */
#define MSG_ADDULINE "ADDULINE" /* Adds an U Line to ircd.conf file */
#define TOK_ADDULINE "!B" /* 33 + 66 */
#define MSG_DELULINE "DELULINE" /* Removes an U line from the ircd.conf */
#define TOK_DELULINE "!C" /* 33 + 67 */
#define MSG_KNOCK "KNOCK" /* Knock Knock - Who's there? */
#define TOK_KNOCK "!D" /* 33 + 68 */
#define MSG_SETTINGS "SETTINGS" /* Settings */
#define TOK_SETTINGS "!E" /* 33 + 69 */
#define MSG_IRCOPS "IRCOPS" /* Shows Online IRCOps */
#define TOK_IRCOPS "!F" /* 33 + 70 */
#define MSG_SVSPART "SVSPART" /* SVSPART */
#define TOK_SVSPART "!G" /* 33 + 71 */
#define MSG_SAPART "SAPART" /* SAPART */
#define TOK_SAPART "!H" /* 33 + 72 */
#define MSG_VCTRL "VCTRL" /* VCTRL */
#define TOK_VCTRL "!I" /* 33 + 73 */
#define MSG_GCLIENT "GCLIENT" /* GLIENT */
#define TOK_GCLIENT "!J" /* 33 + 74 */
#define MSG_NETGLOBAL "NETGLOBAL" /* NETGLOBAL */
#define MSG_SETHOST "SETHOST" /* SETHOST */
#define MSG_VHOST "VHOST" /* VHOST */
#define MSG_CREDITS "CREDITS" /* CREDITS */
#define MSG_COPYRIGHT "COPYRIGHT" /* COPYRIGHT */
#define MSG_ADCHAT "ADCHAT" /* ADCHAT */
#define MSG_GCONNECT "GCONNECT" /* GCONNECT */
#define MSG_IRCOPS "IRCOPS" /* IRCOPS */
#define MSG_KNOCK "KNOCK" /* KNOCK */
#define MSG_CHANNEL "CHANNEL" /* CHANNEL */
#define TOK_CHANNEL "!K" /* 33 + 75 */
#define MSG_UPTIME "UPTIME" /* UPTIME */
#define TOK_UPTIME "!L" /* 33 + 76 */
#define MSG_FAILOPS "FAILOPS" /* FAILOPS */
#define TOK_FAILOPS "!M" /* 33 + 77 */
#define MSG_RPING "RPING" /* RPING */
#define TOK_RPING "!P" /* 33 + 80 */
#define MSG_RPONG "RPONG" /* RPONG */
#define TOK_RPONG "!Q" /* 33 + 81 */
#define MSG_UPING "UPING" /* UPING */
#define TOK_UPING "!R" /* 33 + 82 */
#define MSG_COPYRIGHT "COPYRIGHT" /* Copyright */
#define TOK_COPYRIGHT "!S" /* 33 + 83 */
#define MSG_VCTRL "VCTRL" /* VCTRL */
#define MSG_CSCHAT "CSCHAT" /* CSCHAT */
#define MSG_MAP "MAP" /* MAP */
#define MSG_MAKEPASS "MAKEPASS" /* MAKEPASS */
#define MSG_DKEY "DKEY" /* diffie-hellman negotiation */
#define MSG_FJOIN "FJOIN" /* Forced Join's */
#define MSG_FMODE "FMODE" /* Forced Mode's */
#define MSG_IRCDHELP "IRCDHELP" /* IRCDHELP */
#define MSG_ADDOPER "ADDOPER" /* ADDOPER */
#define MSG_DELOPER "DELOPER" /* DELOPER */
#define MSG_ADDCNLINE "ADDCNLINE" /* ADDCNLINE */
#define MSG_DELCNLINE "DELCNLINE" /* DELCNLINE */
#define MSG_ADDQLINE "ADDQLINE" /* ADDQLINE */
#define MSG_DELQLINE "DELQLINE" /* DELQLINE */
#define MSG_ADDHLINE "ADDHLINE" /* ADDHLINE */
#define MSG_DELHLINE "DELHLINE" /* DELHLINE */
#define MSG_ADDULINE "ADDULINE" /* ADDULINE */
#define MSG_DELULINE "DELULINE" /* DELULINE */
#define MSG_CLIENT "CLIENT" /* CLIENT */
#define MSG_NETCTRL "NETCTRL" /* NETCTRL */
#define MSG_SMODE "SMODE" /* SMODE */
#define MSG_RESYNCH "RESYNCH" /* RESYNCH */
#define MSG_EOBURST "EOBURST" /* EOBURST */
#define MSG_CS "CS" /* CS */
#define MSG_CHANSERV "CHANSERV" /* CHANSERV */
#define MSG_NS "NS" /* NS */
#define MSG_NICKSERV "NICKSERV" /* NICKSERV */
#define MSG_MS "MS" /* MS */
#define MSG_MEMOSERV "MEMOSERV" /* MEMOSERV */
#define MSG_OS "OS" /* OS */
#define MSG_OPERSERV "OPERSERV" /* OPERSERV */
#define MSG_SS "SS" /* SS */
#define MSG_STATSERV "STATSERV" /* STATSERV */
#define MSG_BS "BS" /* BS */
#define MSG_BOTSERV "BOTSERV" /* BOTSERV */
#define MSG_BS "BS"
#define TOK_BOTSERV "!T" /* 33 + 84 */
#define MSG_RS "RS" /* RS */
#define MSG_HS "HS" /* HS aka HeadShot :) */
#define MSG_HOSTSERV "HOSTSERV" /* HOSTSERV */
#define MSG_ROOTSERV "ROOTSERV" /* ROOTSERV */
#define MSG_RS "RS"
#define TOK_ROOTSERV "!U" /* 33 + 85 */
#define MSG_SVINFO "SVINFO"
#define MSG_CAPAB "CAPAB"
#define MSG_BURST "BURST"
#define MSG_SJOIN "SJOIN"
#define MSG_CLIENT "CLIENT"
#define MSG_SMODE "SMODE"
#define MSG_SERVICES "SERVICES" /* SERVICES */
#define MSG_IDENTIFY "IDENTIFY" /* IDENTIFY */
#define MSG_NMODE "NMODE" /* NMODE */
#define MSG_SVSJOIN "SVSJOIN" /* SVSJOIN */
#define MSG_CHANFIX "CHANFIX" /* CHANFIX */
#define MSG_SVSPART "SVSPART" /* SVSPART */
#define MSG_USERIP "USERIP" /* USERIP */
/* Umodes */
#define UMODE_SERVNOTICE 0x00020000 /* umode +s - Server notices */