TGC Codebase Backup



Passwords (Can serve many purposes) by Guhill The friendly one

14th Jun 2004 12:27
Summary

Password for your games



Description

Once your access is granted it continues in to the game. If your access is denied it end the game. This way you could only let your friends play your game by giving them the password and not telling people you hate.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    password$="chase chickens"
INPUT "Password: ",userpassword$
IF userpassword$=password$
   set text size 72
   center text 320,240, "Access Granted"
ELSE
   set text size 72
   center text 320,240, "Access Denied"
   END
ENDIF