Advertisement
Blizzardo1

Irc Reply Codes

Jul 14th, 2015
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 18.34 KB | None | 0 0
  1. /// <summary>
  2.     /// </summary>
  3.     public enum ReplyCode
  4.     {
  5.         /// <summary>
  6.         /// The error unknowncode
  7.         /// </summary>
  8.         ErrUnknowncode = 000,
  9.  
  10.         /// <summary>
  11.         /// The error nosuchnick
  12.         /// </summary>
  13.         ErrNosuchnick = 401, // "<nickname> :No such nick/channel"
  14.  
  15.         /// <summary>
  16.         /// The error nosuchserver
  17.         /// </summary>
  18.         ErrNosuchserver = 402, // "<server name> :No such server"
  19.  
  20.         /// <summary>
  21.         /// The error nosuchchannel
  22.         /// </summary>
  23.         ErrNosuchchannel = 403, // "<channel name> :No such channel"
  24.  
  25.         /// <summary>
  26.         /// The error cannotsendtochan
  27.         /// </summary>
  28.         ErrCannotsendtochan = 404, // "<channel name> :Cannot send to channel"
  29.  
  30.         /// <summary>
  31.         /// The error toomanychannels
  32.         /// </summary>
  33.         ErrToomanychannels = 405, // "<channel name> :You have joined too many channels"
  34.  
  35.         /// <summary>
  36.         /// The error wasnosuchnick
  37.         /// </summary>
  38.         ErrWasnosuchnick = 406, // "<nickname> :There was no such nickname"
  39.  
  40.         /// <summary>
  41.         /// The error toomanytargets
  42.         /// </summary>
  43.         ErrToomanytargets = 407, // "<target> :Duplicate recipients. No message delivered"
  44.  
  45.         /// <summary>
  46.         /// The error noorigin
  47.         /// </summary>
  48.         ErrNoorigin = 409, // ":No origin specified"
  49.  
  50.         /// <summary>
  51.         /// The error norecipient
  52.         /// </summary>
  53.         ErrNorecipient = 411, // ":No recipient given (<command>)"
  54.  
  55.         /// <summary>
  56.         /// The error notexttosend
  57.         /// </summary>
  58.         ErrNotexttosend = 412, // ":No text to send"
  59.  
  60.         /// <summary>
  61.         /// The error notoplevel
  62.         /// </summary>
  63.         ErrNotoplevel = 413, // "<mask> :No toplevel domain specified"
  64.  
  65.         /// <summary>
  66.         /// The error wildtoplevel
  67.         /// </summary>
  68.         ErrWildtoplevel = 414, // "<mask> :Wildcard in toplevel domain"
  69.  
  70.         /// <summary>
  71.         /// The error unknowncommand
  72.         /// </summary>
  73.         ErrUnknowncommand = 421, // "<command> :Unknown command"
  74.  
  75.         /// <summary>
  76.         /// The error nomotd
  77.         /// </summary>
  78.         ErrNomotd = 422, // ":MOTD File is missing"
  79.  
  80.         /// <summary>
  81.         /// The error noadmininfo
  82.         /// </summary>
  83.         ErrNoadmininfo = 423, // "<server> :No administrative info available"
  84.  
  85.         /// <summary>
  86.         /// The error fileerror
  87.         /// </summary>
  88.         ErrFileerror = 424, // ":File error doing <file op> on <file>"
  89.  
  90.         /// <summary>
  91.         /// The error nonicknamegiven
  92.         /// </summary>
  93.         ErrNonicknamegiven = 431, // ":No nickname given"
  94.  
  95.         /// <summary>
  96.         /// The error erroneusnickname
  97.         /// </summary>
  98.         ErrErroneusnickname = 432, // "<nick> :Erroneus nickname"
  99.  
  100.         /// <summary>
  101.         /// The error nicknameinuse
  102.         /// </summary>
  103.         ErrNicknameinuse = 433, // "<nick> :Nickname is already in use"
  104.  
  105.         /// <summary>
  106.         /// The error nickcollision
  107.         /// </summary>
  108.         ErrNickcollision = 436, // "<nick> :Nickname collision KILL"
  109.  
  110.         /// <summary>
  111.         /// The error usernotinchannel
  112.         /// </summary>
  113.         ErrUsernotinchannel = 441, // "<nick> <channel> :They aren't on that channel"
  114.  
  115.         /// <summary>
  116.         /// The error notonchannel
  117.         /// </summary>
  118.         ErrNotonchannel = 442, // "<channel> :You're not on that channel"
  119.  
  120.         /// <summary>
  121.         /// The error useronchannel
  122.         /// </summary>
  123.         ErrUseronchannel = 443, // "<user> <channel> :is already on channel"
  124.  
  125.         /// <summary>
  126.         /// The error nologin
  127.         /// </summary>
  128.         ErrNologin = 444, // "<user> :User not logged in"
  129.  
  130.         /// <summary>
  131.         /// The error summondisabled
  132.         /// </summary>
  133.         ErrSummondisabled = 445, // ":SUMMON has been disabled"
  134.  
  135.         /// <summary>
  136.         /// The error usersdisabled
  137.         /// </summary>
  138.         ErrUsersdisabled = 446, // ":USERS has been disabled"
  139.  
  140.         /// <summary>
  141.         /// The error notregistered
  142.         /// </summary>
  143.         ErrNotregistered = 451, // ":You have not registered"
  144.  
  145.         /// <summary>
  146.         /// The error needmoreparams
  147.         /// </summary>
  148.         ErrNeedmoreparams = 461, // "<command> :Not enough parameters"
  149.  
  150.         /// <summary>
  151.         /// The error alreadyregistered
  152.         /// </summary>
  153.         ErrAlreadyregistered = 462, // ":You may not reregister"
  154.  
  155.         /// <summary>
  156.         /// The error nopermforhost
  157.         /// </summary>
  158.         ErrNopermforhost = 463, // ":Your host isn't among the privileged"
  159.  
  160.         /// <summary>
  161.         /// The error passwdmismatch
  162.         /// </summary>
  163.         ErrPasswdmismatch = 464, // ":Password incorrect"
  164.  
  165.         /// <summary>
  166.         /// The error yourebannedcreep
  167.         /// </summary>
  168.         ErrYourebannedcreep = 465, // ":You are banned from this server"
  169.  
  170.         /// <summary>
  171.         /// The error keyset
  172.         /// </summary>
  173.         ErrKeyset = 467, // "<channel> :Channel key already set"
  174.  
  175.         /// <summary>
  176.         /// The error channelisfull
  177.         /// </summary>
  178.         ErrChannelisfull = 471, // "<channel> :Cannot join channel (+l)"
  179.  
  180.         /// <summary>
  181.         /// The error unknownmode
  182.         /// </summary>
  183.         ErrUnknownmode = 472, // "<char> :is unknown mode char to me"
  184.  
  185.         /// <summary>
  186.         /// The error inviteonlychan
  187.         /// </summary>
  188.         ErrInviteonlychan = 473, // "<channel> :Cannot join channel (+i)"
  189.  
  190.         /// <summary>
  191.         /// The error bannedfromchan
  192.         /// </summary>
  193.         ErrBannedfromchan = 474, // "<channel> :Cannot join channel (+b)"
  194.  
  195.         /// <summary>
  196.         /// The error badchannelkey
  197.         /// </summary>
  198.         ErrBadchannelkey = 475, // "<channel> :Cannot join channel (+k)"
  199.  
  200.         /// <summary>
  201.         /// The error noprivileges
  202.         /// </summary>
  203.         ErrNoprivileges = 481, // ":Permission Denied- You're not an IRC operator"
  204.  
  205.         /// <summary>
  206.         /// The error chanoprivsneeded
  207.         /// </summary>
  208.         ErrChanoprivsneeded = 482, // "<channel> :You're not channel operator"
  209.  
  210.         /// <summary>
  211.         /// The error cantkillserver
  212.         /// </summary>
  213.         ErrCantkillserver = 483, // ":You cant kill a server!"
  214.  
  215.         /// <summary>
  216.         /// The error nooperhost
  217.         /// </summary>
  218.         ErrNooperhost = 491, // ":No O-lines for your host"
  219.  
  220.         /// <summary>
  221.         /// The error umodeunknownflag
  222.         /// </summary>
  223.         ErrUmodeunknownflag = 501, // ":Unknown MODE flag"
  224.  
  225.         /// <summary>
  226.         /// The error usersdontmatch
  227.         /// </summary>
  228.         ErrUsersdontmatch = 502, // ":Cant change mode for other users"
  229.  
  230.         /// <summary>
  231.         /// The RPL unknowncode
  232.         /// </summary>
  233.         RplUnknowncode = 000,
  234.  
  235.         /// <summary>
  236.         /// The RPL welcome
  237.         /// </summary>
  238.         RplWelcome = 001, // "Welcome to the Internet Relay Network <nick>!<user>@<host>"
  239.  
  240.         /// <summary>
  241.         /// The RPL yourhost
  242.         /// </summary>
  243.         RplYourhost = 002, // "Your host is <servername>, running version <ver>"
  244.  
  245.         /// <summary>
  246.         /// The RPL created
  247.         /// </summary>
  248.         RplCreated = 003, // "This server was created <date>"
  249.  
  250.         /// <summary>
  251.         /// The RPL myinfo
  252.         /// </summary>
  253.         RplMyinfo = 004, // "<servername> <version> <available user modes> <available channel modes>"
  254.  
  255.         /// <summary>
  256.         /// The RPL bounce
  257.         /// </summary>
  258.         RplBounce = 005, // "Try server <server name>, port <port number>"
  259.  
  260.         /// <summary>
  261.         /// The RPL trace link
  262.         /// </summary>
  263.         RplTraceLink = 200, // "Link <version & debug level> <destination> <next server>"
  264.  
  265.         /// <summary>
  266.         /// The RPL trace connecting
  267.         /// </summary>
  268.         RplTraceConnecting = 201, // "Try. <class> <server>"
  269.  
  270.         /// <summary>
  271.         /// The RPL trace and shake
  272.         /// </summary>
  273.         RplTraceAndShake = 202, // "H.S. <class> <server>"
  274.  
  275.         /// <summary>
  276.         /// The RPL trace unknown
  277.         /// </summary>
  278.         RplTraceUnknown = 203, // "???? <class> [<client IP address in dot form>]"
  279.  
  280.         /// <summary>
  281.         /// The RPL trace operator
  282.         /// </summary>
  283.         RplTraceOperator = 204, // "Oper <class> <nick>"
  284.  
  285.         /// <summary>
  286.         /// The RPL trace user
  287.         /// </summary>
  288.         RplTraceUser = 205, // "User <class> <nick>"
  289.  
  290.         /// <summary>
  291.         /// The RPL trace server
  292.         /// </summary>
  293.         RplTraceServer = 206, // "Serv <class> <int>S <int>C <server> <nick!user|*!*>@<host|server>"
  294.  
  295.         /// <summary>
  296.         /// The RPL trace new type
  297.         /// </summary>
  298.         RplTraceNewType = 208, // "<newtype> 0 <client name>"
  299.  
  300.         /// <summary>
  301.         /// The RPL stats link information
  302.         /// </summary>
  303.         RplStatsLinkInfo = 211,
  304.  
  305.         // "<linkname> <sendq> <sent messages> <sent bytes> <received messages> <received bytes>
  306.         // <time open>"
  307.  
  308.         /// <summary>
  309.         /// The RPL stats commands
  310.         /// </summary>
  311.         RplStatsCommands = 212, // "<command> <count>"
  312.  
  313.         /// <summary>
  314.         /// The RPL stats cline
  315.         /// </summary>
  316.         RplStatsCline = 213, // "C <host> * <name> <port> <class>"
  317.  
  318.         /// <summary>
  319.         /// The RPL stats nline
  320.         /// </summary>
  321.         RplStatsNline = 214, // "N <host> * <name> <port> <class>"
  322.  
  323.         /// <summary>
  324.         /// The RPL stats iline
  325.         /// </summary>
  326.         RplStatsIline = 215, // "I <host> * <host> <port> <class>"
  327.  
  328.         /// <summary>
  329.         /// The RPL stats kline
  330.         /// </summary>
  331.         RplStatsKline = 216, // "K <host> * <username> <port> <class>"
  332.  
  333.         /// <summary>
  334.         /// The RPL stats yline
  335.         /// </summary>
  336.         RplStatsYline = 218, // "Y <class> <ping frequency> <connect frequency> <max sendq>"
  337.  
  338.         /// <summary>
  339.         /// The RPL endof stats
  340.         /// </summary>
  341.         RplEndofStats = 219, // "<stats letter> :End of /STATS report"
  342.  
  343.         /// <summary>
  344.         /// The RPL umode is
  345.         /// </summary>
  346.         RplUmodeIs = 221, // "<user mode string>"
  347.  
  348.         /// <summary>
  349.         /// The RPL stats lline
  350.         /// </summary>
  351.         RplStatsLline = 241, // "L <hostmask> * <servername> <maxdepth>"
  352.  
  353.         /// <summary>
  354.         /// The RPL stats uptime
  355.         /// </summary>
  356.         RplStatsUptime = 242, // ":Server Up %d days %d:%02d:%02d"
  357.  
  358.         /// <summary>
  359.         /// The RPL stats oline
  360.         /// </summary>
  361.         RplStatsOline = 243, // "O <hostmask> * <name>"
  362.  
  363.         /// <summary>
  364.         /// The RPL stats hline
  365.         /// </summary>
  366.         RplStatsHline = 244, // "H <hostmask> * <servername>"
  367.  
  368.         /// <summary>
  369.         /// The RPL l user client
  370.         /// </summary>
  371.         RplLUserClient = 251, // ":There are <integer> users and <integer> invisible on <integer> servers"
  372.  
  373.         /// <summary>
  374.         /// The RPL l user op
  375.         /// </summary>
  376.         RplLUserOp = 252, // "<integer> :operator(s) online"
  377.  
  378.         /// <summary>
  379.         /// The RPL l user unknown
  380.         /// </summary>
  381.         RplLUserUnknown = 253, // "<integer> :unknown connection(s)"
  382.  
  383.         /// <summary>
  384.         /// The RPL l user channels
  385.         /// </summary>
  386.         RplLUserChannels = 254, // "<integer> :channels formed"
  387.  
  388.         /// <summary>
  389.         /// The RPL l user me
  390.         /// </summary>
  391.         RplLUserMe = 255, // ":I have <integer> clients and <integer> servers"
  392.  
  393.         /// <summary>
  394.         /// The RPL admin me
  395.         /// </summary>
  396.         RplAdminMe = 256, // "<server> :Administrative info"
  397.  
  398.         /// <summary>
  399.         /// The RPL admin loc1
  400.         /// </summary>
  401.         RplAdminLoc1 = 257, // ":<admin info>"
  402.  
  403.         /// <summary>
  404.         /// The RPL admin loc2
  405.         /// </summary>
  406.         RplAdminLoc2 = 258, // ":<admin info>"
  407.  
  408.         /// <summary>
  409.         /// The RPL admin email
  410.         /// </summary>
  411.         RplAdminEmail = 259, // ":<admin info>"
  412.  
  413.         /// <summary>
  414.         /// The RPL trace log
  415.         /// </summary>
  416.         RplTraceLog = 261, // "File <logfile> <debug level>"
  417.  
  418.         /// <summary>
  419.         /// The RPL away
  420.         /// </summary>
  421.         RplAway = 301, // "<nick> :<away message>"
  422.  
  423.         /// <summary>
  424.         /// The RPL userhost
  425.         /// </summary>
  426.         RplUserhost = 302, // ":[<reply>{<space><reply>}]"
  427.  
  428.         /// <summary>
  429.         /// The RPL ison
  430.         /// </summary>
  431.         RplIson = 303, // ":[<nick> {<space><nick>}]"
  432.  
  433.         /// <summary>
  434.         /// The RPL unaway
  435.         /// </summary>
  436.         RplUnaway = 305, // ":You are no longer marked as being away"
  437.  
  438.         /// <summary>
  439.         /// The RPL nowaway
  440.         /// </summary>
  441.         RplNowaway = 306, // ":You have been marked as being away"
  442.  
  443.         /// <summary>
  444.         /// The RPL whoisuser
  445.         /// </summary>
  446.         RplWhoisuser = 311, // "<nick> <user> <host> * :<real name>"
  447.  
  448.         /// <summary>
  449.         /// The RPL whoisserver
  450.         /// </summary>
  451.         RplWhoisserver = 312, // "<nick> <server> :<server info>"
  452.  
  453.         /// <summary>
  454.         /// The RPL whoisoperator
  455.         /// </summary>
  456.         RplWhoisoperator = 313, // "<nick> :is an IRC operator"
  457.  
  458.         /// <summary>
  459.         /// The RPL whowasuser
  460.         /// </summary>
  461.         RplWhowasuser = 314, // "<nick> <user> <host> * :<real name>"
  462.  
  463.         /// <summary>
  464.         /// The RPL endofwho
  465.         /// </summary>
  466.         RplEndofwho = 315, // "<name> :End of /WHO list"
  467.  
  468.         /// <summary>
  469.         /// The RPL whoisidle
  470.         /// </summary>
  471.         RplWhoisidle = 317, // "<nick> <integer> :seconds idle"
  472.  
  473.         /// <summary>
  474.         /// The RPL endofwhois
  475.         /// </summary>
  476.         RplEndofwhois = 318, // "<nick> :End of /WHOIS list"
  477.  
  478.         /// <summary>
  479.         /// The RPL whoischannels
  480.         /// </summary>
  481.         RplWhoischannels = 319, // "<nick> :{[@|+]<channel><space>}"
  482.  
  483.         /// <summary>
  484.         /// The RPL liststart
  485.         /// </summary>
  486.         RplListstart = 321, // "Channel :Users  Name"
  487.  
  488.         /// <summary>
  489.         /// The RPL list
  490.         /// </summary>
  491.         RplList = 322, // "<channel> <# visible> :<topic>"
  492.  
  493.         /// <summary>
  494.         /// The RPL listend
  495.         /// </summary>
  496.         RplListend = 323, // ":End of /LIST"
  497.  
  498.         /// <summary>
  499.         /// The RPL channelmodeis
  500.         /// </summary>
  501.         RplChannelmodeis = 324, // "<channel> <mode> <mode params>"
  502.  
  503.         /// <summary>
  504.         /// The RPL notopic
  505.         /// </summary>
  506.         RplNotopic = 331, // "<channel> :No topic is set"
  507.  
  508.         /// <summary>
  509.         /// The RPL topic
  510.         /// </summary>
  511.         RplTopic = 332, // "<channel> :<topic>"
  512.  
  513.         /// <summary>
  514.         /// The RPL inviting
  515.         /// </summary>
  516.         RplInviting = 341, // "<channel> <nick>"
  517.  
  518.         /// <summary>
  519.         /// The RPL summoning
  520.         /// </summary>
  521.         RplSummoning = 342, // "<user> :Summoning user to IRC"
  522.  
  523.         /// <summary>
  524.         /// The RPL version
  525.         /// </summary>
  526.         RplVersion = 351, // "<version>.<debuglevel> <server> :<comments>"
  527.  
  528.         /// <summary>
  529.         /// The RPL whoreply
  530.         /// </summary>
  531.         RplWhoreply = 352, // "<channel> <user> <host> <server> <nick> <H|G>[*][@|+] :<hopcount> <real name>"
  532.  
  533.         /// <summary>
  534.         /// The RPL namesreply
  535.         /// </summary>
  536.         RplNamesreply = 353, // "<channel> :[[@|+]<nick> [[@|+]<nick> [...]]]"
  537.  
  538.         /// <summary>
  539.         /// The RPL links
  540.         /// </summary>
  541.         RplLinks = 364, // "<mask> <server> :<hopcount> <server info>"
  542.  
  543.         /// <summary>
  544.         /// The RPL endoflinks
  545.         /// </summary>
  546.         RplEndoflinks = 365, // "<mask> :End of /LINKS list"
  547.  
  548.         /// <summary>
  549.         /// The RPL endofnames
  550.         /// </summary>
  551.         RplEndofnames = 366, // "<channel> :End of /NAMES list"
  552.  
  553.         /// <summary>
  554.         /// The RPL banlist
  555.         /// </summary>
  556.         RplBanlist = 367, // "<channel> <banid>"
  557.  
  558.         /// <summary>
  559.         /// The RPL endofbanlist
  560.         /// </summary>
  561.         RplEndofbanlist = 368, // "<channel> :End of channel ban list"
  562.  
  563.         /// <summary>
  564.         /// The RPL endofwhowas
  565.         /// </summary>
  566.         RplEndofwhowas = 369, // "<nick> :End of WHOWAS"
  567.  
  568.         /// <summary>
  569.         /// The RPL information
  570.         /// </summary>
  571.         RplInfo = 371, // ":<string>"
  572.  
  573.         /// <summary>
  574.         /// The RPL motd
  575.         /// </summary>
  576.         RplMotd = 372, // ":- <text>"
  577.  
  578.         /// <summary>
  579.         /// The RPL endofinfo
  580.         /// </summary>
  581.         RplEndofinfo = 374, // ":End of /INFO list"
  582.  
  583.         /// <summary>
  584.         /// The RPL motdstart
  585.         /// </summary>
  586.         RplMotdstart = 375, // ":- <server> Message of the day - "
  587.  
  588.         /// <summary>
  589.         /// The RPL endofmotd
  590.         /// </summary>
  591.         RplEndofmotd = 376, // ":End of /MOTD command"
  592.  
  593.         /// <summary>
  594.         /// The RPL youreoper
  595.         /// </summary>
  596.         RplYoureoper = 381, // ":You are now an IRC operator"
  597.  
  598.         /// <summary>
  599.         /// The RPL rehashing
  600.         /// </summary>
  601.         RplRehashing = 382, // "<config file> :Rehashing"
  602.  
  603.         /// <summary>
  604.         /// The RPL time
  605.         /// </summary>
  606.         RplTime = 391, // "<server> :<string showing server's local time>"
  607.  
  608.         /// <summary>
  609.         /// The RPL usersstart
  610.         /// </summary>
  611.         RplUsersstart = 392, // ":UserID   Terminal  Host"
  612.  
  613.         /// <summary>
  614.         /// The RPL users
  615.         /// </summary>
  616.         RplUsers = 393, // ":%-8s %-9s %-8s"
  617.  
  618.         /// <summary>
  619.         /// The RPL endofusers
  620.         /// </summary>
  621.         RplEndofusers = 394, // ":End of users"
  622.  
  623.         /// <summary>
  624.         /// The RPL nousers
  625.         /// </summary>
  626.         RplNousers = 395 // ":Nobody logged in"
  627.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement