This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm trying to get a computercraft sensor to work with a monitor, putting the name of whoever's close on it. there's a few problems though.
apparently sensors have changed in that they now output tables with subtables that contain the name that i want to display.
code looks like this:
while true do
players = sensor.getPlayers()
for number,name in pairs(players) do
for a,b in pairs (name) do
write (b)
when i try to work it out it first displays something weird, and after that output the name. if there is any computercraft wizard that can help me out, it would be much appreciated!
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/feedthebeas...