Page 1 of 1

How to use generate random numbers

Posted: Tue Oct 08, 2013 1:55 am
by Kendoll
Could someone tell me how to use generate random numbers inside a flash tease?
Assume it means editing the NYX script.
Thanks for your attention.

Re: How to use generate random numbers

Posted: Tue Oct 08, 2013 2:19 am
by SexualChoc
it is possible to do pages based on a random function

http://www.milovana.com/forum/viewtopic ... 135#p23162
you will see my all2true posts that show how to do random pages AND sound

first write as MUCH or the tease as you can beore you start messing with script

Second Make SURE you save your script!! one you start editing
I found Horrible problems trying to go back to regular viewing
do your text edit
Save what you did
then close out of Nyx entirely!!!
then go back in... to see your changes
if you try and switch to preview without closing.. strange things happen and you will be editing forever...
here a normal page 70 goes to 3 random pages... (pages 101, 102, and 103)

Code: Select all

page70#page('',pic("03q8u.jpg"),delay(0hrs,[color=#FF0000] range(101,103,'page'),style:hidden)[/color]); 101#page('<TEXTFORMAT LEADING="2">[color=#808000]writing seen on tease page[/color]</TEXTFORMAT>',pic("04koly.jpg"),buttons(page7#, "Done!", Pun11#, "Failed")); 102#page('<TEXTFORMAT [color=#408000](Tons of text)[/color]</TEXTFORMAT>',pic("04koly.jpg"),buttons(page7#, "Done!", Pun11#, "Failed")); 103#page('<TEXTFORMAT  [color=#408000](lots of text)_[/color]TEXTFORMAT>',pic("04koly.jpg"),buttons(page7#, "Done!", Pun11#, "Failed"));
note: here is the punishment page ... pun 11... just to help some more

Code: Select all

Pun11#page('<TEXTFORMAT [color=#808040]20 ball smacks *with a lot of coding)[/color]</TEXTFORMAT>',pic("03q8u.jpg"),buttons(page5#, "Sorry!"));
ps text editing is really unforgiving.. One space. or period out of place...and it does not work..
make sure you spacing is right.. I have sent days tracking down a _ _ (double space) where it did not belong.

Re: How to use generate random numbers

Posted: Wed Oct 09, 2013 1:11 am
by Quiet Linda
Thanks so much!
maybe I can use this to tease the comnunity.