netserver/HWProto.hs
changeset 1381 e9754d1d61a9
parent 1377 a9e768739345
child 1383 d20e6e8928e3
equal deleted inserted replaced
1380:f3bdfe2452f2 1381:e9754d1d61a9
    13 
    13 
    14 answerServerMessage = [(clientOnly, ["SERVER_MESSAGE", "<h2><p align=center><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p></h2>"])]
    14 answerServerMessage = [(clientOnly, ["SERVER_MESSAGE", "<h2><p align=center><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p></h2>"])]
    15 answerBadCmd = [(clientOnly, ["ERROR", "Bad command, state or incorrect parameter"])]
    15 answerBadCmd = [(clientOnly, ["ERROR", "Bad command, state or incorrect parameter"])]
    16 answerNotMaster = [(clientOnly, ["ERROR", "You cannot configure room parameters"])]
    16 answerNotMaster = [(clientOnly, ["ERROR", "You cannot configure room parameters"])]
    17 answerBadParam = [(clientOnly, ["ERROR", "Bad parameter"])]
    17 answerBadParam = [(clientOnly, ["ERROR", "Bad parameter"])]
    18 answerQuit = [(clientOnly, ["off"])]
    18 answerQuit = [(clientOnly, ["BYE"])]
    19 answerAbandoned = [(othersInRoom, ["BYE"])]
    19 answerAbandoned = [(othersInRoom, ["BYE"])]
    20 answerQuitInform nick = [(othersInRoom, ["LEFT", nick])]
    20 answerQuitInform nick = [(othersInRoom, ["LEFT", nick])]
    21 answerNickChosen = [(clientOnly, ["ERROR", "The nick already chosen"])]
    21 answerNickChosen = [(clientOnly, ["ERROR", "The nick already chosen"])]
    22 answerNickChooseAnother = [(clientOnly, ["WARNING", "Choose another nick"])]
    22 answerNickChooseAnother = [(clientOnly, ["WARNING", "Choose another nick"])]
    23 answerNick nick = [(clientOnly, ["NICK", nick])]
    23 answerNick nick = [(clientOnly, ["NICK", nick])]