Jump to content




using wired modems and os.pullEvent()


  • You cannot reply to this topic
2 replies to this topic

#1 panicmore

  • Members
  • 26 posts
  • LocationEssex, UK

Posted 01 June 2013 - 04:00 AM

how would I use an OS pull event and a wired modem attached to a peripheral? specifically how would I tell, using a chat box, get an input from user in chat and do something depending on what that is, I can do this by wrapping it directly to the computer, but I'm unsure of the process with wired modems. I guess basically I'm asking how to wrap a peripheral with wired modems.

#2 panicmore

  • Members
  • 26 posts
  • LocationEssex, UK

Posted 01 June 2013 - 04:06 AM

while writing this I kind of answered my own question, just wrap it like a normal peripheral but instead of a side use the name foor example:
chatBox = peripheral.wrap("chat_0")
and you can use os pull events fine

#3 Noiro

  • Members
  • 65 posts

Posted 03 June 2013 - 06:28 AM

So would this allow your computer to respond regardless of where you were on the map if you entered a !command ?





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users