#define FLAG_ALIVE 0x00000002
#define FLAG_YOURTURN 0x00000004
#define FLAG_WONGAME 0x00000008
+#define FLAG_DRAGONFIGHT 0x00000010
// Config File flags
#define CFLAG_LISTENONCF 0x00000001
#define CFLAG_BOPER 0x00000004
#define CFLAG_WELCOME 0x00000008
#define CFLAG_SAVEDNOTICE 0x00000010
+#define CFLAG_USENICKSERV 0x00000020
+
+#define setUseNickServ() (configflags |= CFLAG_USENICKSERV)
+#define clearUseNickServ() (configflags &= ~CFLAG_USENICKSERV)
+#define isUseNickServ() (configflags & CFLAG_USENICKSERV)
#define setSavedNotice() (configflags |= CFLAG_SAVEDNOTICE)
#define clearSavedNotice() (configflags &= ~CFLAG_SAVEDNOTICE)
-#define isSavedNotice() (configflags &= CFLAG_SAVEDNOTICE)
+#define isSavedNotice() (configflags & CFLAG_SAVEDNOTICE)
#define setWelcome() (configflags |= CFLAG_WELCOME)
#define clearWelcome() (configflags &= ~CFLAG_WELCOME)
#define setWonGame(x) ((x)->addFlag(FLAG_WONGAME))
#define clearWonGame(x) ((x)->remFlag(FLAG_WONGAME))
+#define isDragonFight(x) ((x)->getFlags() & FLAG_DRAGONFIGHT)
+#define setDragonFight(x) ((x)->addFlag(FLAG_DRAGONFIGHT))
+#define clearDragonFight(x) ((x)->remFlag(FLAG_DRAGONFIGHT))
+
#endif