Jump to content




Chatbox Peripheral?


  • You cannot reply to this topic
1 reply to this topic

#1 Noiro

  • Members
  • 65 posts

Posted 03 June 2013 - 07:02 AM

Hey guys, I'm trying to use the chat() extension of MiscPeriphs's chatbox peripheral, but I can't seem to get it to work correctly. How exactly do you use it? Upon trying, I always get: lua:1: attempt to call table

I've tried just chat(), player,message = chat(), etc. tableHere = chat(), and even say(chat()). All throw an error.

I'm trying to setup a chat/listener so if I say something, it will respond.

#2 CoderPuppy

  • Members
  • 121 posts

Posted 03 June 2013 - 07:38 AM

I'm assuming chat is the wrapped chatbox. Use chat.say(msg) to say stuff. And an event called chat_message which has player, msg. Look up events.
local _, player, msg = os.pullEvent('chat_message')






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users