#ifndef __CHANSERV_MESSAGES_H
#define __CHANSERV_MESSAGES_H
-#define Q9_FORMAT_TIME "%d/%m/%y %H:%M"
+#define Q9_FORMAT_TIME "%d/%m/%y %H:%M GMT"
+#define TIMELEN 30
-#define MAXMESSAGES 200
+#define Q9_LOG_FORMAT_TIME "%d/%m/%y %H:%M:%S"
+
+#define MAXMESSAGES 250
#ifdef COMPILING_MESSAGES
#define msg(token, message, args) message, args
#define EndMessages() csrawmessages; extern char *defaultmessages[MAXMESSAGES*2];
#endif
+/************************ DANGER WILL ROBINSON!!! **************************/
+/* if you want to add a new message you must add it at the end. */
+/* also don't remove any, as these messages end up as ids in the database! */
+/************************ DANGER WILL ROBINSON!!! **************************/
+
BeginMessages() {
msg(QM_PROTECTED, "Channel $0 is protected by $1.", "ss"),
- msg(QM_UNKNOWNCMD, "Unknown command $0. Type SHOWCOMMANDS for a list of available commands.", "s"),
+ msg(QM_UNKNOWNCMD, "Unknown command $0. Type SHOWCOMMANDS for a list of available commands.", "s"),
msg(QM_SECUREONLY, "To prevent sensitive information being accidentally send to malicious users\non other networks, when using the $0 command, you must use\n/msg $1@$2.", "sss"),
- msg(QM_AUTHEDONLY, "$0 is only available to authed users. Try AUTH to authenticate with your\naccount, or HELLO to create an account.", "s"),
+ msg(QM_AUTHEDONLY, "$0 is only available to authed users. Try AUTH to authenticate with your\naccount, or HELLO to create an account.", "s"),
msg(QM_UNAUTHEDONLY, "$0 is not available once you have authed.", "s"),
msg(QM_COMMANDLIST, "The following commands are available to you.\nFor more information on a specific command, type HELP <command>:", ""),
msg(QM_ENDOFLIST, "End of list.", ""),
msg(QM_WELCOMEMESSAGEIS, "Welcome message for $0: $1", "ss"),
msg(QM_GLOBALINFO, "Default info line: $0", "s"),
msg(QM_CHANNELINFO, "Info line on $0: $1", "ss"),
- msg(QM_PROTECTEDNICK, "$0 is a protected helper or oper nick. Please use a different nickname.", "s"),
+ msg(QM_PROTECTEDNICK, "$0 is a protected helper or oper nick. Please use a different nickname.", "s"),
msg(QM_NICKWASFAKED, "I created a fakeuser $0 to prevent your nick being stolen.", "s"),
msg(QM_NOTPROTECTED, "Sorry, your nick $0 is not protected.", "s"),
- msg(QM_SAMEAUTH, "$0 is authed as $1. Cannot reclaim nick.", "ss"),
+ msg(QM_SAMEAUTH, "$0 is authed as $1. Cannot reclaim nick.", "ss"),
msg(QM_AUTHFAIL, "Username or password incorrect.", ""),
- msg(QM_AUTHOK, "You are now logged in as $0.", "s"),
- msg(QM_NEWACCOUNT, "User $0 created successfully.\nInformation about how to access and use your new account will be sent to your email address, $1.\nIf you do not see an email soon be sure to check your spam folder.", "ss"),
- msg(QM_AUTHNAMEINUSE, "A user with that name already exists. If you have said HELLO before, use AUTH to\nlogin, or REQUESTPASSWORD if you have forgotten the password. Otherwise,\nplease change your nick and try again.", ""),
+ msg(QM_AUTHOK, "You are now logged in as $0.\nRemember: NO-ONE from QuakeNet will ever ask for your password. NEVER send your password to ANYONE except Q@CServe.quakenet.org.", "s"),
+ msg(QM_NEWACCOUNT, "Account $0 created successfully.\nInformation about how to access and use your new account will be sent to your email address, $1.\nIf you do not see an email soon be sure to check your spam folder.", "ss"),
+ msg(QM_AUTHNAMEINUSE, "Someone already has the account name $0!\nIf this is your account use AUTH to login, otherwise please change your nick using /NICK and try again.", "s"),
msg(QM_ALREADYONCHAN, "You're already on $0.", "s"),
msg(QM_NOTONCHAN, "You're not on $0.", "s"),
msg(QM_ALREADYOPPED, "You're already opped on $0.", "s"),
msg(QM_MAILTHROTTLED, "Sorry, but you have already requested a password. You will have to wait atleast $0 hours, before requesting again.", "g"),
msg(QM_MAILQUEUED, "Mail queued for delivery", ""),
msg(QM_PWDONTMATCH, "Sorry, but passwords do not match", ""),
- msg(QM_PWTOSHORT, "Sorry, but new password is to short", ""),
+ msg(QM_PWTOSHORT, "Sorry, but new password is too short", ""),
msg(QM_PWCHANGED, "Ok, password changed", ""),
msg(QM_INVALIDDURATION2, "Duration too long or invalid: $0", "s"),
msg(QM_EMAILCHANGED, "Ok, email changed to \"$0\"", "s"),
msg(QM_RESULTCOUNT, "Found $0 $1$2.", "uss"),
msg(QM_SUSPENDKILL, "Attention: Your Q account has been suspended. You are being disconnected.", ""),
msg(QM_LISTFLAGSHEADER, "Username: Flags: Suspended: Email: Last user@host:", ""),
- msg(QM_SUSPENDUSERLISTHEADER, "Username: Suspend type: Suspended by: Date suspended: Expires: Reason:", ""),
- msg(QM_SUSPENDCHANLISTHEADER, "Channel: Suspended by: Date suspended: Reason:", ""),
+ msg(QM_SUSPENDUSERLISTHEADER, "Username: Suspend type: Suspended by: Date suspended: Expires: Reason:", ""), /* @TIMELEN */
+ msg(QM_SUSPENDCHANLISTHEADER, "Channel: Suspended by: Date suspended: Reason:", ""), /* @TIMELEN */
msg(QM_NOREQUESTOWNER, "You cannot request ownership of $0 as there is a channel $1 present.", "ss"),
msg(QM_GRANTEDOWNER, "You have been granted ownership of $0.", "s"),
- msg(QM_AUTHHISTORYHEADER, "#: User: Authed: Disconnected: Reason:", ""),
+ msg(QM_AUTHHISTORYHEADER, "#: User: Authed: Disconnected: Reason:", ""), /* @TIMELEN */
msg(QM_CURDOMAINMODES, "Current modes on $0: $1", "ss"),
msg(QM_SPEWDOMAINHEADER, "Domain: Users: Flags:", ""),
msg(QM_DOMAINLIMIT, "Sorry, no more accounts are allowed from this email domain.", ""),
msg(QM_PWTOWEAK, "Password too weak - You need to avoid repeating characters, and have different character types (e.g. 1 number and 1 letter)", ""),
msg(QM_GIVEOWNERNOTMASTER, "User $0 is not a master on $1 - you must promote user to master status first.", "ss"),
msg(QM_GIVEOWNERALREADYOWNER, "User $0 is already an owner on $1.", "ss"),
- msg(QM_GIVEOWNERNEEDHASH, "WARNING: This command will give COMPLETE control over $0 to $1,\nincluding the ability to remove you as owner. If you are sure you want to\ndo this, type: GIVEOWNER $2 #$3 $4", "sssss"),
+ msg(QM_GIVEOWNERNEEDHASH, "WARNING: This command will give COMPLETE control over $0 to $1,\nincluding the ability to remove you as owner. If you are sure you want to\ndo this, type: GIVEOWNER $2 #$3 $4", "sssss"),
msg(QM_GIVEOWNERWRONGHASH, "Hash value incorrect, try again.", ""),
msg(QM_SHOWINGDURATION, "Showing $0 for last $1.", "ss"),
msg(QM_INVALIDACCOUNTNAME, "Change your nickname to something with none of the following characters: `~^[]{}|_\\", ""),
msg(QM_CHALLENGEBADALGORITHM, "Invalid digest algorithm.", ""),
msg(QM_NOCHALLENGE, "Challenge has either not been requested or has expired.", ""),
- msg(QM_USEGIVEOWNER, "For security reasons it is not possible to give the owner flag to other users\nusing CHANLEV. Use GIVEOWNER if you really wanted to do this.", ""),
+ msg(QM_USEGIVEOWNER, "For security reasons it is not possible to give the owner flag to other users\nusing CHANLEV. Use GIVEOWNER if you really wanted to do this.", ""),
msg(QM_NOFLAGSPECIFIED, "You must specify at least one valid flag to add.", ""),
msg(QM_NEWBANALREADYBANNED, "New ban is already contained within existing ban: $0", "s"),
msg(QM_NEWBANOVERLAPS, "New ban would replace at least one existing ban ($0), use UNBANMASK $1 first if you want to set this ban.", "ss"),
msg(QM_OTHERUSERAUTHED, "Warning: $0 ($1@$2) authed with your password.", "sss"),
msg(QM_STATSRESET, "Resettable statistics reset for $0.", "s"),
msg(QM_CHANLEVEMPTIEDCHANNEL, "The channel has been deleted since the last known user was removed.", ""),
- msg(QM_CHANLEVCHANGED, "Done. Flags for $0 on $1 are now: $2.", "sss"),
- msg(QM_CHANLEVREMOVED, "Done. User $0 is no longer known on $1.", "ss"),
- msg(QM_CHANLEVNOCHANGE, "Nothing changed. This could be because you specified an impossible flag combination or don't have enough access.", ""),
+ msg(QM_CHANLEVCHANGED, "Done. Flags for $0 on $1 are now: $2.", "sss"),
+ msg(QM_CHANLEVREMOVED, "Done. User $0 is no longer known on $1.", "ss"),
+ msg(QM_CHANLEVNOCHANGE, "Nothing changed. This could be because you specified an impossible flag combination or don't have enough access.", ""),
msg(QM_USERSHEADER, "Users currently on $0:\nNick Username Flags Host", "s"),
msg(QM_EMPTYCHAN, "Channel $0 is currently empty.", "s"),
msg(QM_USERSSUMMARY, "Total $0 users: $1 opped, $2 voiced, $3 others, $4 with flags ($5 ops, $6 masters)", "ddddddd"),
msg(QM_CHANLEV_SUSPENDREASON, "Suspended: $0", "s"),
msg(QM_CHANLEV_SUSPENDSINCE, "Suspended since: $0", "T"),
msg(QM_CHANLEV_SUSPENDBY, "Suspended by: $0", "s"),
+ msg(QM_TRUNCATED, "Warning: list truncated to $0 items.", "d"),
+ msg(QM_WHOIS_PASSSET, "Pass last set : $0", "T"),
+ msg(QM_TICKETEXPIRED, "Sorry, you've taken too long to log in (ticket has expired).", ""),
+ msg(QM_TICKETNOTYETVALID, "The supplied login credentials are not valid (ticket not yet valid).", ""),
+ msg(QM_CONFIGURATIONERROR, "Configuration error, contact an IRC Operator.", ""),
+ msg(QM_INVALIDHMAC, "The supplied login credentials are not valid (bad HMAC).", ""),
+ msg(QM_PASSEMAILCHANGED, "Auth failed: account password has been changed since you logged in.", ""),
+ msg(QM_REASONREQUIRED, "Supply a decent reason.", ""),
+ msg(QM_BYPASSINGSUSPEND,"NOTE: $0 is suspended, bypassing suspension.", "s"),
+ msg(QM_ACHIEVEMENTUNLOCKED,"ACHIEVEMENT UNLOCKED: [$1] $0","sd"),
+ msg(QM_ACHIEVEMENTLISTHEADER,"User $0 has unlocked the following achievements:","s"),
+ msg(QM_ACHIEVEMENTLISTMEHEADER,"You have unlocked the following achievements:",""),
+ msg(QM_ACHIEVEMENTLISTEND,"End of list ($0 total achievement points).","d"),
+ msg(QM_NOACHIEVEMENTS,"User $0 does not have any achievements yet.","s"),
+ msg(QM_ACHIEVEMENTCOMPARETIE,"End of list. It's a tie!",""),
+ msg(QM_ACHIEVEMENTCOMPARERESULT,"End of list. User $0 is ahead by $1 points!", "sd"),
+ msg(QM_FEATOFSTRENGTHUNLOCKED,"FEAT OF STRENGTH: $0", "s"),
+ msg(QM_ACHCHANNELHEADER,"Achievement points for users on $0:\n # Nick Username Points","s"),
+ msg(QM_TITLEUNLOCKED,"TITLE UNLOCKED: $0", "s"),
+ msg(QM_NOTITLES,"You have not unlocked any titles.",""),
+ msg(QM_TITLEHEADER,"Available titles:\n # Title",""),
+ msg(QM_INVALIDTITLE,"Invalid title ID.",""),
+ msg(QM_TITLETOOFAST,"You have already changed your title recently. Please wait a while and try again.",""),
+ msg(QM_INACTIVEACCOUNT,"This account has not yet been activated.",""),
+ msg(QM_PWTOLONG, "Sorry, but new password is too long (maximum length 10 chars)", ""),
+ msg(QM_TOOMANYCHANNELS, "User is known on too many channels.", ""),
+ msg(QM_PWINVALID, "Password contains invalid characters.", ""),
+ msg(QM_TOOMANYAUTHATTEMPTS, "Too many auth attempts -- reconnect to QuakeNet to try again.", ""),
}
EndMessages()
#endif