extern struct userNode *message_dest; /* message destination; useful in expansion callbacks */
-#define MIN_LINE_SIZE 40
-#define MAX_LINE_SIZE 450
+#define MIN_LINE_SIZE 40
+#define MAX_LINE_SIZE 450
#define TABLE_REPEAT_HEADERS 0x0001 /* repeat the headers for each columnset? */
#define TABLE_PAD_LEFT 0x0002 /* pad cells on the left? */
extern struct language *lang_C;
extern struct dict *languages;
+#define MSG_TYPE_NOTICE 0
+#define MSG_TYPE_PRIVMSG 1
+#define MSG_TYPE_WALLCHOPS 2
+#define MSG_TYPE_NOXLATE 4
+#define MSG_TYPE_MULTILINE 8
+
int send_message(struct userNode *dest, struct userNode *src, const char *message, ...);
int send_message_type(int msg_type, struct userNode *dest, struct userNode *src, const char *message, ...);
int send_target_message(int msg_type, const char *dest, struct userNode *src, const char *format, ...);