Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

ejhobbs

Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by ejhobbs

  1. Computronics adds a "chat box", probably the one you used. With that you can do the event.pull("chat_message")

     

    I haven't added any chatbox peripheral, there used to be one with MiscPeripherals, however that mod has now been discontinued. Would you suggest then installing this new mod, I assume it isn't part of OpenPeripherals? Thanks

  2. Hi,

     

      I've just come from ComputerCraft, where we were able to use the 'Chat Box' peripheral from I can't remember which mod, which allowed you to listen to the chat, and then perform functions based on that.

     

    However, I can't see to recreate the same functionality in OpenComputers. I have the code:

    event = require("event")
    
    chat_event = event.pull(chat_command)
    

    However, this only appears to pull events from the server's remote terminal, for example:

    "key_up"    "big long id"   13   28   "Hobby203"
    

    Is there any way to utilise the chat_command event for taking messages from the actual chatbox? I have seen '$$' being used a lot, is this relevant? I've spent the last hour Googling and so far haven't found anything useful...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.