This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
sha263's profile picture

[Peripheral] chat box help

Started by sha263, 15 June 2013 - 12:06 AM
sha263 #1
Posted 15 June 2013 - 02:06 AM
Hello, thanks for reading this.

I was looking around for an API list for the chatbox(it's yellow with black spots) but i couldn't fined anything. i was wondering if anyone could help me

-sha263
Edited by
MindenCucc #2
Posted 15 June 2013 - 05:46 AM
Hello! It has 2 functions:

success = tell(string Player, string Message)
success2 = say(string Message)

These returning true if the message was successfully sent. Its pretty easy :)/>
theoriginalbit #3
Posted 15 June 2013 - 07:23 AM
Always consult the topic of the peripheral in question.

http://www.computercraft.info/forums2/index.php?/topic/4587-cc153mc152-miscperipherals-33/

also there is always

for k,v in pairs( peripheral.getMethods("left") ) do
  print( k, ' : ', v)
end
where you replace "left" with the side of the peripheral.
Lyqyd #4
Posted 16 June 2013 - 03:45 PM
Moved to Ask a Pro.