- Password-Protecting TI-BASIC Programs
- 05 Jun 2014 08:13:25 pm
- Last edited by john1234brown on 05 Jun 2014 10:52:33 pm; edited 1 time in total
Password Protecting Code You Just Have To Add It To The Beginning Of Your Program Also Edit It To Your Fitting
Code:
is that better sir
Code:
Goto PA
{;The Password is 123 press the buttons 123 for it to work i might add something to notify you that you are correct
;Get rid of the Basic Explanation and goto command above and use the actual command thats after the explanation the explanation is inside the { and } symbols delete all of this k! don't forget to delete the goto also :)
;Output-(1,1,"PressUrPassword" this is optional remove if you want it to be a secret so only you know to enter it if you do just leave it
;Repeat- K=(put the getkey code of the button you want to be the first one you press for example i will use the getkey code of the button (1) which is 92
;getKeY->K this will set the button you press to be reconized and sets the value of k to equal that button
;If K<92 and K>0 or K>92
;Goto FU change this if you find this inappropriate k
;EnD this is the end of the first pass of the password
;Disp- "=" this will display you did it correct or- not you can take it out for extra security its up to you though
;Repeat- K=(put the getkey code of the button you want to be the second one you press for example i will use the getkey code of the button (2) which is 93
;getKeY->K this will set the button you press to be reconized and sets the value of k to equal that button
;EnD this is the end of the first pass of the password
;Disp- "=" this will display you did it correct or- not you can take it out for extra security its up to you though
;Repeat- K=(put the getkey code of the button you want to be the second one you press for example i will use the getkey code of the button (3) which is 94
;getKeY->K this will set the button you press to be reconized and sets the value of k to equal that button
;EnD this is the end of the first pass of the password
;Disp- "=" this will display you did it correct or- not you can take it out for extra security its up to you though
;ClrHomE this will go ahead and clear your home screen from all of the equals signs showing you that you where correct
;Lbl FU
;Output(1,1,"GET OFF YOU"
;Output(2,1,"NOSEY PERSON"
;Output(3,1,"YOU'LL NEVER"
;Output(4,1,"FIGURE IT OUT"
;Output(5,1,"HAHAHAHAHA!!!"
;Return
;here is the real code also as you get rid of this explanation on how to set up your pass and how this works and you get rid of the goto make sure you get rid of the lbl PA But Not THe lbl FU because that is important code also it would help if you made your program not editable so they can't change your password have a nice day :)
Actually don't remove any of the Goto's or Lbl's commands because i have them set up to where there actually important }
Lbl FU
Output(1,1,"FmuCK OFF YOU"
Output(2,1,"NOSEY FmuCKER"
Output(3,1,"YOU'LL NEVER"
Output(4,1,"FIGURE IT OUT"
Output(5,1,"HAHAHAHAHA!!!"
Return
Lbl PA
Output(1,1,"PressUrPassword"
Output(2,1,"PASSWORDPROTECTN"
Output(3,1,"By; Johnathan"
Output(4,1,"Brown On 6/5/14"
Repeat K=92
getKey->K
If K<92 and K>0 or K>92
Goto FU
End
Disp "="
Repeat K=93
getKey->K
If K<93 and K>0 or K>93
Goto FU
End
Disp "="
Repeat K=94
getKey->K
If K<93 and K>0 or K>93
Goto FU
End
Disp "="
ClrHome
is that better sir