Can anyone show me how to script in a page that requires a password to proceed? I'm a visual learner so showing the code and explaining it would be extremely helpful.
How to make add password mechanics to your tease.
- Galron789
- Explorer

- Posts: 38
- Joined: Sat Jul 07, 2018 7:03 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
How to make add password mechanics to your tease.
So I'm just about done with my latest tease, however I wanted to add some more replay ability. I basically wanted to have a page near to beginning that leads to other smaller teases that require a password to get to. The idea being that after playing the initial tease a few times you will accumulate the password and unlock another mini tease. However I have no idea how to add that feature.
Can anyone show me how to script in a page that requires a password to proceed? I'm a visual learner so showing the code and explaining it would be extremely helpful.
Can anyone show me how to script in a page that requires a password to proceed? I'm a visual learner so showing the code and explaining it would be extremely helpful.
Last edited by Galron789 on Fri Jul 05, 2019 3:00 am, edited 1 time in total.
- xman911
- Explorer At Heart

- Posts: 395
- Joined: Wed Feb 08, 2012 2:39 am
- Gender: Male
- Sexual Orientation: Straight
Re: How to make add password mechanics to your tease.
What type of tease it would be, EOS or Flash ?!Galron789 wrote: Fri Jul 05, 2019 12:01 am So I'm just about done with my latest tease, however I wanted to add some more replay ability. I basically wanted to have a page near to beginning that leads to other smaller teases that require a password to get to. The idea being that after playing the initial tease a few times you will accumulate the password and unlock another mini tease. However I have no idea how to add that feature.
Can anyone show me how to script in a page that requires a password to proceed? I'm a visual learner so showing the code and explaining it would be extremely helpful.![]()
For EOS you should first initialize your variable. For example... here is visual representation on how to initialize a variable:
- Spoiler: show
Code: Select all
var pass = "someword"
Code: Select all
var pass = 0
- Spoiler: show
Code: Select all
pass
- Spoiler: show
Code: Select all
pass == "someword"
- Galron789
- Explorer

- Posts: 38
- Joined: Sat Jul 07, 2018 7:03 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: How to make add password mechanics to your tease.
I forgot about specifying. I am doing a flash tease.
- Shattered
- Experimentor

- Posts: 1391
- Joined: Fri Jan 11, 2013 6:41 pm
- I am a: Switch
- Location: United Kingdom
Re: How to make add password mechanics to your tease.
Make a password page and link to it.
Lets say you want a numbered password for 123 and 144.
password#
(numbers 1 to 10) leading to password1# password2# etc. Anything that isnt being used, eg in this case 2-0, have badpassword#.
then again, with eg password12# and password14# as your valid links, with a submit button. if you submit on the badpassword# page or any incorrect page, it links to wrongpassword# which is a page telling you the password is wrong and linking back to the start page.
Finally password123# page and password144# page as above, then the submit button on those pages leads to your mini-tease.
Salutations, Stranger.
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
