Jump to content




TheOutcast5's Programs


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

#1 TheOutcast5

  • Members
  • 104 posts
  • LocationKonoha - Hidden Leaf Village

Posted 25 March 2012 - 10:34 AM

This thread is for all my programs I make

Content
- Door Lock
- Minecart Terminal


Door Lock
This is my Door Lock program
Spoiler


Minecart Terminal
This is my Minecart Terminal program. Its very basic.
Spoiler


#2 kamnxt

  • New Members
  • 80 posts

Posted 25 March 2012 - 10:43 AM

You should add a way to prevent the door lock program from being terminated... Maybe use "_, input = pcall("read","*")"

#3 BlackRa1n

  • New Members
  • 69 posts

Posted 25 March 2012 - 12:57 PM

View Postkamnxt, on 25 March 2012 - 10:43 AM, said:

You should add a way to prevent the door lock program from being terminated... Maybe use "_, input = pcall("read","*")"

Or just use this:

os.pullEvent() = os.pullEventRaw()


#4 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 25 March 2012 - 01:50 PM

View PostBlackRa1n, on 25 March 2012 - 12:57 PM, said:

Or just use this:
os.pullEvent = os.pullEventRaw
Fixed :(/>

Edit: Because using the brackets calls the functions, whereas using only their names returns the function references themselves.

Edited by Espen, 25 March 2012 - 01:51 PM.


#5 BlackRa1n

  • New Members
  • 69 posts

Posted 25 March 2012 - 01:55 PM

View PostEspen, on 25 March 2012 - 01:50 PM, said:

View PostBlackRa1n, on 25 March 2012 - 12:57 PM, said:

Or just use this:
os.pullEvent = os.pullEventRaw
Fixed :(/>

Edit: Because using the brackets calls the functions, whereas using only their names returns the function references themselves.

Aw. And I was so close to looking smart as well if it wasn't for you meddling brackets!

#6 Kadecamz

  • New Members
  • 113 posts

Posted 25 March 2012 - 10:28 PM

uh...what do I enter to be able to edit it once ran the program?

#7 Kadecamz

  • New Members
  • 113 posts

Posted 25 March 2012 - 10:59 PM

I keep getting bios:206: [string "startup"]"19: unexpected symbol when using the password program

#8 TheOutcast5

  • Members
  • 104 posts
  • LocationKonoha - Hidden Leaf Village

Posted 30 March 2012 - 08:40 AM

View PostKadecamz, on 25 March 2012 - 10:59 PM, said:

I keep getting bios:206: [string "startup"]"19: unexpected symbol when using the password program

I dont know why your getting that error, it should work. it does for me unless if you tried typing it in and got a small part wrong





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users