Jump to content

PyroOfZen

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by PyroOfZen

  1. MAJOR EDIT: I found out how to get what I wanted (a lock on a computer that utilized multiple passwords and different actions depending on which passwords are input). Here's the code: You'll need to make some commands: : STRING 32 ALLOT SWAP ! ; : SET @ 32 CR ." : " ACCEPT CR ; : PRINT @ CR ." '" TYPE ." '" CR ; Then, the variables you're gonna need and set them up with a string: VARIABLE PASS1 PASS1 STRING VARIABLE PASS2 PASS2 STRING VARIABLE TEMP TEMP STRING In order to set your passwords you're going to need to use "PASS1 SET" or "PASS2 SET" then input the password and hit enter. This is the program: : LOCK BEGIN PAGE ." Password : " CR TEMP SET PASS1 @ TEMP @ STRCMP 0 = IF PAGE CR CR ." Access Granted." 1 IOX! 80 TICKS 0 IOX! ELSE PASS2 @ TEMP @ STRCMP 0 = IF PAGE CR CR ." Access Granted." 2 IOX! 80 TICKS 0 IOX! ELSE PAGE CR CR ." Access Denied! " 80 TICKS THEN THEN AGAIN ; All you have to do is type "LOCK" into the console to activate the program. If you'd like to set up one of the passwords (or simply a third password) that can access the console and all other commands again, say, for example, to make changes to your passwords, then all you have to do is, instead of: 1 IOX! 80 TICKS 0 IOX! Do: EXIT And then you will be able to use the console as normal, assuming you get the password right.
  2. Hello, my fellow Minecraftians! This is Pyro and you're about to watch Technically Technological. The series where I take on the Technic Pack. First thing's first. Straight to my channel, for those who may want to see what else I've got besides the Technic Let's Play - http://www.youtube.com/user/PyroOfZen Keep in mind that my videos may have explicit language and it is recommended that those who don't want their little ones learning new words keep 'em in the shed out back (the shed thing is a joke, just sayin'). Not saying I cuss every second, but when I run out of things to say, they slip in more often. This, http://www.youtube.com/playlist?list=PLED87437E9C869CB1&feature=view_all, is the link to my playlist. I have only begun to upload the series, but more are waiting, I just need to find time to render and upload them all...patience is a virtue! If you would be so kind to watch my videos, I would be much obliged. Don't hesitate to let me know what you think if you feel up to it.
×
×
  • Create New...