| 1 | /* |
| 2 | * Copyright (C) 1999,2001 Ross Combs ([email protected]) |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ |
| 18 | |
| 19 | |
| 20 | /*****/ |
| 21 | #ifndef JUST_NEED_TYPES |
| 22 | #ifndef INCLUDED_BOT_PROTOCOL_PROTOS |
| 23 | #define INCLUDED_BOT_PROTOCOL_PROTOS |
| 24 | |
| 25 | /* |
| 26 | * The bot protocol has no real structure. It basically different ASCII |
| 27 | * formatted lines. |
| 28 | */ |
| 29 | |
| 30 | /*********************************** |
| 31 | */ |
| 32 | #define EID_SHOWUSER 1001 |
| 33 | /***********************************/ |
| 34 | |
| 35 | |
| 36 | /*********************************** |
| 37 | */ |
| 38 | #define EID_JOIN 1002 |
| 39 | /***********************************/ |
| 40 | |
| 41 | |
| 42 | /*********************************** |
| 43 | */ |
| 44 | #define EID_LEAVE 1003 |
| 45 | /***********************************/ |
| 46 | |
| 47 | |
| 48 | /*********************************** |
| 49 | */ |
| 50 | #define EID_WHISPER 1004 |
| 51 | /***********************************/ |
| 52 | |
| 53 | |
| 54 | /*********************************** |
| 55 | */ |
| 56 | #define EID_TALK 1005 |
| 57 | /***********************************/ |
| 58 | |
| 59 | |
| 60 | /*********************************** |
| 61 | */ |
| 62 | #define EID_BROADCAST 1006 |
| 63 | /***********************************/ |
| 64 | |
| 65 | |
| 66 | /*********************************** |
| 67 | */ |
| 68 | #define EID_CHANNEL 1007 |
| 69 | /***********************************/ |
| 70 | |
| 71 | |
| 72 | /*********************************** |
| 73 | */ |
| 74 | #define EID_USERFLAGS 1009 |
| 75 | /***********************************/ |
| 76 | |
| 77 | |
| 78 | /*********************************** |
| 79 | */ |
| 80 | #define EID_WHISPERSENT 1010 |
| 81 | /***********************************/ |
| 82 | |
| 83 | |
| 84 | /*********************************** |
| 85 | */ |
| 86 | #define EID_CHANNELFULL 1013 |
| 87 | /***********************************/ |
| 88 | |
| 89 | |
| 90 | /*********************************** |
| 91 | */ |
| 92 | #define EID_CHANNELDOESNOTEXIST 1014 |
| 93 | /***********************************/ |
| 94 | |
| 95 | |
| 96 | /*********************************** |
| 97 | */ |
| 98 | #define EID_CHANNELRESTRICTED 1015 |
| 99 | /***********************************/ |
| 100 | |
| 101 | |
| 102 | /*********************************** |
| 103 | 1018 INFO "You are Anonymous#11, using Chat in a private game." |
| 104 | */ |
| 105 | #define EID_INFO 1018 /* 1016? */ |
| 106 | /***********************************/ |
| 107 | |
| 108 | |
| 109 | /*********************************** |
| 110 | 1019 ERROR "That is not a valid command. Type /help or /? for more info." |
| 111 | */ |
| 112 | #define EID_ERROR 1019 |
| 113 | /***********************************/ |
| 114 | |
| 115 | |
| 116 | /*********************************** |
| 117 | */ |
| 118 | #define EID_EMOTE 1023 |
| 119 | /***********************************/ |
| 120 | |
| 121 | |
| 122 | /*********************************** |
| 123 | 2000 NULL |
| 124 | */ |
| 125 | #define EID_NULL 2000 |
| 126 | /***********************************/ |
| 127 | |
| 128 | |
| 129 | /*********************************** |
| 130 | 2010 NAME Anonymous#11 |
| 131 | */ |
| 132 | #define EID_UNIQUENAME 2010 |
| 133 | /***********************************/ |
| 134 | |
| 135 | |
| 136 | #endif |
| 137 | #endif |