Page 1 of 1

Random page on flash tease

Posted: Tue May 13, 2014 10:29 am
by MissNiki
I want a page on my tease will direct the user to a number of random pages
The page name is 4a#
The pages I want the page to go to are
I1#,I2#,I3#,I4#,I5#,I6#,I7#,I8#,I9#,I10#,I11#,I12#,I13#,I14#

Re: Random page on flash tease

Posted: Tue May 13, 2014 6:03 pm
by Venus
In a flash tease you can only go random to pages which name is a number:
So you have to rename your pages and remove the "I" then you can use "range(startNumber, endNumber, 'page')" as target to go to a page between startNumber and endNumber. In your case "range(1,14,'page')"

If you need more help with random pages you can find a lot of information in the several help/tutorial threads for writing flash teases.

Re: Random page on flash tease

Posted: Wed May 14, 2014 11:18 pm
by MissNiki
Sorry it didn't work either
Any other Idea?

Re: Random page on flash tease

Posted: Thu May 15, 2014 7:00 pm
by philo
MissNiki wrote:Sorry it didn't work either
Any other Idea?

Code: Select all

4a#page('',buttons(100#, "RandomPage"));4b#page('',delay(5sec,range(1080001,1080014)));1080001#page('<Text/>');1080002#page('<Text/>');1080003#page('<Text/>');1080004#page('<Text/>');1080005#page('<Text/>');1080006#page('<Text/>');1080007#page('<Text/>');1080008#page('<Text/>');1080009#page('<Text/>');1080010#page('<Text/>');1080011#page('<Text/>');1080012#page('<Text/>');1080013#page('<Text/>');1080014#page('<Text/>');100#page("",pic("blank.jpg"),delay(0sec,range(1080001,1080014),style:secret));
4a has a button that will randomly go to one of the 14 pages
4b has a delay which will do the same

To get to a random page from a button you need to go to a page (100 in this case) that is hidden and has a 0 second delay that then can go to random pages

Re: Random page on flash tease

Posted: Fri May 16, 2014 10:11 pm
by MissNiki
I don't have any skill and programing.. this doesn't help me either.
I need something to copy and paste to the tease's script page.

Re: Random page on flash tease

Posted: Sat May 17, 2014 8:21 am
by philo
MissNiki wrote:I don't have any skill and programing.. this doesn't help me either.
I need something to copy and paste to the tease's script page.
Have you tried the offline editor i wrote?
the script I posted is generated by it.

I got a bit frustrated with the online editor so wrote my own, if you want help using it feel free to pm or email me.
or if you want help changing what you have, if you send me the script I will see what I can do

Re: Random page on flash tease

Posted: Sat May 17, 2014 11:20 pm
by Venus
MissNiki wrote:I don't have any skill and programing.. this doesn't help me either.
I need something to copy and paste to the tease's script page.
That's the wrong attitude :(

It's the best way to understand what is happening, so you can use it properly.

Although there are enough information regarding random pages in the tutorial threads I'm in the mood to give you a quick guide.

You have your page 4a# with your button which should pick a random page.

Code: Select all

4a#page('Text',pic("*.jpg"),buttons(helprandom#, "Random Page"));
The code above should be usual business. Now we need a help page which actually picks the random page. If you use a delay or the "go" button you could skip this step.

Code: Select all

helprandom#page('',pic("black.jpg"),delay(0hrs, range(1,14,'page'),style:hidden));
This is the help page. It has no text and I used to show a black picture so that there are no flashing images. Important is the delay. It's duration is 0hrs so it changes immediately. The target is "range(1,14,'page')". It will pick a random page between 1 and 14. The style is hidden so that you won't see a timer. The page names have to be numbers to be a valid target.

Code: Select all

1#page('Text',pic("*.jpg"),);2#page('Text',pic("*.jpg"),);3#page('Text',pic("*.jpg"),);
And these are your pages which can be reached through the helprandom# page. I did 3 examples for you, It should be obvious how to do the other pages, only the page name changes. Remember, the name of the page has to be a number!

Trouble shooting: If you click in the nyx visual editor on your help page nyx may add a # into the range command. So you have to go into the script editor and remove the #. (e.g. " range(1,14,'page')#")

I hope this will help you. If you don't understand a step, please ask and I'll try to help you.

Re: Random page on flash tease

Posted: Sun May 18, 2014 12:26 am
by MissNiki
I try again and again and I can't figure it out.
here is the whole script.. please try to help me with it:

Code: Select all

start#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", code1#, "5", start#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); code1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", code2#, "8", start#, "9", start#, "0")); code2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", start#, "8", start#, "9", code3#, "0")); code3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start1#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); start1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do yo have permission to pee?</FONT></P></TEXTFORMAT>',pic("no-01-1.jpg"),yn(2a#,2c#)); 3b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">...</FONT></P></TEXTFORMAT>',pic("no-03.jpg"),delay(5min, 3a#)); 3a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want instructions?</FONT></P></TEXTFORMAT>',pic("no-08.jpg"),yn(4a#,4b#));  4a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">hmm... let me think....</FONT></P></TEXTFORMAT>',pic("*.jpg")); 1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">instruction 1</FONT></P></TEXTFORMAT>',pic("*.jpg")); 2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 2</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 3</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 4</FONT></P></TEXTFORMAT>',pic("*.jpg")); 5#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 5</FONT></P></TEXTFORMAT>',pic("*.jpg")); 6#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 6</FONT></P></TEXTFORMAT>',pic("*.jpg")); 7#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 7</FONT></P></TEXTFORMAT>',pic("*.jpg")); 8#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 8</FONT></P></TEXTFORMAT>',pic("*.jpg")); 9#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 9</FONT></P></TEXTFORMAT>',pic("*.jpg")); 10#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 10</FONT></P></TEXTFORMAT>',pic("*.jpg")); 11#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 11</FONT></P></TEXTFORMAT>',pic("*.jpg")); 12#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 12</FONT></P></TEXTFORMAT>',pic("*.jpg")); 13#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 13</FONT></P></TEXTFORMAT>',pic("*.jpg")); 14#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 14</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Then pee and report to Miss Niki</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Can you wait?</FONT></P></TEXTFORMAT>',pic("*.jpg"),yn(2c#,5c#)); 5c#page('',pic("*.jpg")); 2a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want to pee now or show me that you can wait?</FONT></P></TEXTFORMAT>',pic("no-02.jpg"),buttons(3a#, "Pee now", 3b#, "Wait")); 2c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">How much time left before you have permission How long?</FONT></P></TEXTFORMAT>',pic("*.jpg"),buttons(start#, "3 hours or more", start#, "2 hours", start#, "hour", 3c#, "30 minutes", 3c#, "15 minutes", 3c#, "10 minutes", 3c#, "5 minutes"));  

Re: Random page on flash tease

Posted: Sun May 18, 2014 12:00 pm
by Venus
MissNiki wrote:I try again and again and I can't figure it out.
here is the whole script.. please try to help me with it:
Spoiler: show

Code: Select all

start#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", code1#, "5", start#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); code1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", code2#, "8", start#, "9", start#, "0")); code2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", start#, "8", start#, "9", code3#, "0")); code3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start1#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); start1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do yo have permission to pee?</FONT></P></TEXTFORMAT>',pic("no-01-1.jpg"),yn(2a#,2c#)); 3b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">...</FONT></P></TEXTFORMAT>',pic("no-03.jpg"),delay(5min, 3a#)); 3a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want instructions?</FONT></P></TEXTFORMAT>',pic("no-08.jpg"),yn(4a#,4b#));  4a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">hmm... let me think....</FONT></P></TEXTFORMAT>',pic("*.jpg")); 1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">instruction 1</FONT></P></TEXTFORMAT>',pic("*.jpg")); 2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 2</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 3</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 4</FONT></P></TEXTFORMAT>',pic("*.jpg")); 5#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 5</FONT></P></TEXTFORMAT>',pic("*.jpg")); 6#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 6</FONT></P></TEXTFORMAT>',pic("*.jpg")); 7#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 7</FONT></P></TEXTFORMAT>',pic("*.jpg")); 8#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 8</FONT></P></TEXTFORMAT>',pic("*.jpg")); 9#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 9</FONT></P></TEXTFORMAT>',pic("*.jpg")); 10#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 10</FONT></P></TEXTFORMAT>',pic("*.jpg")); 11#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 11</FONT></P></TEXTFORMAT>',pic("*.jpg")); 12#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 12</FONT></P></TEXTFORMAT>',pic("*.jpg")); 13#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 13</FONT></P></TEXTFORMAT>',pic("*.jpg")); 14#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 14</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Then pee and report to Miss Niki</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Can you wait?</FONT></P></TEXTFORMAT>',pic("*.jpg"),yn(2c#,5c#)); 5c#page('',pic("*.jpg")); 2a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want to pee now or show me that you can wait?</FONT></P></TEXTFORMAT>',pic("no-02.jpg"),buttons(3a#, "Pee now", 3b#, "Wait")); 2c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">How much time left before you have permission How long?</FONT></P></TEXTFORMAT>',pic("*.jpg"),buttons(start#, "3 hours or more", start#, "2 hours", start#, "hour", 3c#, "30 minutes", 3c#, "15 minutes", 3c#, "10 minutes", 3c#, "5 minutes"));  
Have you read my post carefully? Because most of that is missing in your Code. You have no button on page 4a# which leads to the help page. The help page is missing completely. Add those two things and it will work.

Re: Random page on flash tease

Posted: Sun May 18, 2014 4:23 pm
by MissNiki
I read it and tried to use it on my tease but it didn't work, so I copied the original and posted it here so you can try and figure it out

Re: Random page on flash tease

Posted: Sun May 18, 2014 7:08 pm
by Venus
MissNiki wrote:I read it and tried to use it on my tease but it didn't work, so I copied the original and posted it here so you can try and figure it out
Ok, I took your code and added the few things, was done in under 1 minute and it works fine. Unfortunately you didn't tell what you tried or what went wrong, so I am not able to help you there.

If you still can't figure it out how to add the required code here's the code:
Spoiler: show

Code: Select all

start#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", code1#, "5", start#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); code1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", code2#, "8", start#, "9", start#, "0")); code2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start#, "6", start#, "7", start#, "8", start#, "9", code3#, "0")); code3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">This tease is password protected for Miss Niki slaves only</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">please enter the code you were given</FONT></P></TEXTFORMAT>',pic("lock-on-keyboard.jpg"),buttons(start#, "1", start#, "2", start#, "3", start#, "4", start#, "5", start1#, "6", start#, "7", start#, "8", start#, "9", start#, "0")); start1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do yo have permission to pee?</FONT></P></TEXTFORMAT>',pic("no-01-1.jpg"),yn(2a#,2c#)); 3b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">...</FONT></P></TEXTFORMAT>',pic("no-03.jpg"),delay(5min, 3a#)); 3a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want instructions?</FONT></P></TEXTFORMAT>',pic("no-08.jpg"),yn(4a#,4b#));  4a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">hmm... let me think....</FONT></P></TEXTFORMAT>',pic("*.jpg"),buttons(helprandom#, "Random Page")); helprandom#page('',pic("black.jpg"),delay(0hrs, range(1,14,'page'),style:hidden)); 1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">instruction 1</FONT></P></TEXTFORMAT>',pic("*.jpg")); 2#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 2</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 3</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 4</FONT></P></TEXTFORMAT>',pic("*.jpg")); 5#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 5</FONT></P></TEXTFORMAT>',pic("*.jpg")); 6#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 6</FONT></P></TEXTFORMAT>',pic("*.jpg")); 7#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 7</FONT></P></TEXTFORMAT>',pic("*.jpg")); 8#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 8</FONT></P></TEXTFORMAT>',pic("*.jpg")); 9#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 9</FONT></P></TEXTFORMAT>',pic("*.jpg")); 10#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 10</FONT></P></TEXTFORMAT>',pic("*.jpg")); 11#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 11</FONT></P></TEXTFORMAT>',pic("*.jpg")); 12#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 12</FONT></P></TEXTFORMAT>',pic("*.jpg")); 13#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 13</FONT></P></TEXTFORMAT>',pic("*.jpg")); 14#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="1">instruction 14</FONT></P></TEXTFORMAT>',pic("*.jpg")); 4b#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Then pee and report to Miss Niki</FONT></P></TEXTFORMAT>',pic("*.jpg")); 3c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Can you wait?</FONT></P></TEXTFORMAT>',pic("*.jpg"),yn(2c#,5c#)); 5c#page('',pic("*.jpg")); 2a#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Do you want to pee now or show me that you can wait?</FONT></P></TEXTFORMAT>',pic("no-02.jpg"),buttons(3a#, "Pee now", 3b#, "Wait")); 2c#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">How much time left before you have permission How long?</FONT></P></TEXTFORMAT>',pic("*.jpg"),buttons(start#, "3 hours or more", start#, "2 hours", start#, "hour", 3c#, "30 minutes", 3c#, "15 minutes", 3c#, "10 minutes", 3c#, "5 minutes"));