Jump to content




Reader Command/lua


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

#1 KDJSAIUH

  • Members
  • 35 posts

Posted 12 September 2013 - 09:45 AM

I saw somewhere a script that has somthing like reader(kaioo1312) and i cant think what this code is it would be realy useful for private areas of my house like my chest-room and because its on tekkit lite my nuclear reactors etc etc.
if anyone knows this code it would be much appreciated!
-kaioo1312
EDIT:
what this mystery program does is it can be used in somthing like this:
term.clear()
term.setCursorPos(1,1)
reader=(kaioo1312)
if true do
shell.run"passworddoor"
else
print "You are not kaioo go away
os.reboot()
end
so it basicly detects the player (kaioo1312) and it prevents somone else from getting into that area even if they know the password
NOTE: Yes i know the above code doesn't work but its just a example.
thanks

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 12 September 2013 - 10:06 AM

That's a very VERY non-specific description. reader(anything) would be a customer function, so there's no telling what it could be. Perhaps if you give us a description of what the program is supposed to do?

Also, it would be nice if you could try typing out your responses in complete sentences, it helps others read exactly what you mean, rather than guessing.

#3 KDJSAIUH

  • Members
  • 35 posts

Posted 12 September 2013 - 10:50 AM

View PostCranium, on 12 September 2013 - 10:06 AM, said:

That's a very VERY non-specific description. reader(anything) would be a customer function, so there's no telling what it could be. Perhaps if you give us a description of what the program is supposed to do?

Also, it would be nice if you could try typing out your responses in complete sentences, it helps others read exactly what you mean, rather than guessing.

i added a extended description

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 12 September 2013 - 01:41 PM

The original code probably required something like OpenCCSensors or MiscPeripherals.

#5 KDJSAIUH

  • Members
  • 35 posts

Posted 28 October 2013 - 05:13 AM

Thanks Lyqyd i found it was a Player Detector block in MiscPeripherals.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users