lib/hackers-objects.rb
##
# Writes a message to the chat and reads messages:
#   message = Message
#
# Returns array:
#   [
#     *ChatMessage*,
#     *ChatMessage*,
#     *ChatMessage*,
#     ...
#   ]
Writes a message to the chat and reads messages:
message = Message


Writes a message to the chat and reads messages : message = Message
def write(message)
        messages = @game.cmdChatSend(@room, message, @last)
        @last = messages.last.datetime unless messages.empty?
        return messages
      end
def write ( message ) messages = @game . cmdChatSend ( @room , message , @last ) @last = messages . last . datetime unless messages . empty? return messages end
Writes a message to the chat and reads messages:
message = Message
Writes a message to the chat and reads messages : message = Message
message