set/unset

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
kimber22
Explorer
Explorer
Posts: 5
Joined: Sat Dec 18, 2010 1:32 pm

set/unset

Post by kimber22 »

hi guys,

I wanted to make a web tease but I can't figure out how and where to put the set/unset-command. Maybe I'm not the brightest, but I've spent almost three hours now reading the introduction to Nyx, the tipps&tricks, tried copying some code, found a lot of advanced stuff like must and mustnot that I don't need, learned about some bugs, reloading the browser, starting Nyx several times and so on... But still I don't get a simple 3-page-random code working.

So please, can someone just give me the code for it?

All I need is a starting page and 3 pages below where you randomly jump to another page. (best: not to the page you're coming from or the starting page^^) like: start -> p1 -> p3 -> p2 -> p3 -> p2 -> p1 -> p3 -> p2 etc...

Thanx,
kimber
User avatar
SexualChoc
Chat Moderator
Posts: 3144
Joined: Mon Aug 10, 2009 1:22 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Missouri, Usa
Contact:

Re: set/unset

Post by SexualChoc »

Here is actual pages from
All2true's denial game.

Code: Select all

page11#page(
'<TEXTFORMAT LEADING="2"> ...   
delay(1sec, range(8,10),style:hidden)
);

8#page(
'<TEXTFORMAT LEADING="2"><
...
0">Once every other second</FONT></P></TEXTFORMAT>',
pic("*.jpg"),
vert(buttons(page12#, "Edge"),delay(1min, page50#)), unset(8#)

9#page(
'<TEXTFORMAT LEADING="2"><
...
pic("*.jpg"),
vert(buttons(page12#, "Edge"),delay(1min, page50#)), unset(9#)
There is NO set command (that I know of)
range sends you to a random page
Every page following need an > unset(pagenumber#)
Use SINGLE digets for the pages so random (1,4) gives you 4 random pges
If you use this more than once in a tease you MUST not use the same numbers!
so the next range would be > range (4,9)
Also notice that the random pages are labeled differently
9#page
NOTE there is NO # in the range command
the toughest part is that you have to do the editting in Script
So I recomend writting the tease first then going into script and putting in the Unset command.
otherwise there tends to be errors.
all2true
is my other profile. see my chastity belt link :
http://www.milovana.com/forum/viewtopic ... 16#p139016
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: set/unset

Post by Nezhul »

First of all, the page that you want to be random, should have numiric names (actually no matter if they go in order or not). Then you need a range command like that
range(1,5,'page')
It should be the argument of a go or delay function, i.e.
go(range(1,5,'page'))
note, that nyx will screw this command if you ever view this page in visual editor, and place # in the end of it, making it unusible.
range command will choose a random page from this interval, on 2 conditions:
1) the page exists (if you have pages 1,2,4,5 , but no page 3, the code will work, but off course it will never be able to choose page 3, choosing some other instead)
2) the page is not set (viewed).

Now, let's get to set and unset.
Set() command marks the page as if it was already viewed. Actually viewing the page during the tease works the same. Both variants will prevent you from seing the page again. Use set() commands to restrict some pages from appearing. You can eather do this in the start (and then you allow that page by unset() in some other place), or on a specific page, that pops up if some event occurs (like we shoose to cum, then no-cum variant must be set() )
Unset does the opposite - it marks the page as if we never visited it yet. you use it BEFORE the page you want to be viewed again occurs. You use it inside some page, for example the very page that will lead to random one.

try this topic too:
http://www.milovana.com/forum/viewtopic ... 26&start=0
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
kimber22
Explorer
Explorer
Posts: 5
Joined: Sat Dec 18, 2010 1:32 pm

Re: set/unset

Post by kimber22 »

first of all, thx guys for trying to help me. But even this simple code seems to be too complicated for me... Could I just have the someone give me the syntax for the... don't know... handful of codes that exist in Nyx? (set, unset, must, mustnot, go, vert, buttons, page, delay) just the codes, nothing else, like:

How do I make a page in Nyx?
--> ...#page(...);
--> nameofthesite#page(heregoesthestory);
OK, NOW I GOT HOW A PAGE IN NYX WORKS

How do I make a picture in Nyx?
...#page(pic("nameofyourpic.xxx"),something));
--> page... important, makes the nxy-page
--> pic... fixed word to depict a picture
--> nameofyourpic.xxx ... the name of your picture
--> something .. dot-dot-dot--- (ehm, what can be here? a GO? a UNSET? a DO-WHILE? don't know... never found something like a syntax-table in Nyx yet...

sorry if I'm bothering you...
thx for your helping, kisses,
kimber
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: set/unset

Post by Nezhul »

If you want some help - post your CODE here, not some explanations.
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
kimber22
Explorer
Explorer
Posts: 5
Joined: Sat Dec 18, 2010 1:32 pm

Re: set/unset

Post by kimber22 »

hi, I don't wanna make you angry or something... I'm just not used to it... ^^

so, here's the code that doesn't work. All I want is several buttons with different effects. But I don't get it how the button/go/range-commands work together...

Code: Select all

 start#page('<TEXTFORMAT LEADING="three-hundred-fifty-four-millions"><P ALIGN="left">This is the start page</FONT></P></TEXTFORMAT>',pic("rayssa-01.jpg"),buttons(1#,'goto-page-1',2#,'goto-page-2',3#,'goto-page-3', range(1,3,'randombutton1'),'randombutton1-another'),go(range(1,3,'random-button2')),buttons(range(1,3,'randombutton3')),unset(1#,2#,3#),); 1#page('<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="FontSans" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">This is page 1</FONT></P></TEXTFORMAT>',pic("blonde-14.jpg"),buttons(range(1,3,'randombutton4')),unset(1#,2#,3#),); 
User avatar
Nezhul
Experimentor
Experimentor
Posts: 2373
Joined: Fri Apr 30, 2010 6:22 am
Sexual Orientation: Straight

Re: set/unset

Post by Nezhul »

Syntax of range command is: range(1,3,'page') - no "randombutton1" or any other - only 'page'. Also range commands can not be used in buttons function. Only in go(), delay() or yn().
Check out my new site, and read SexTV story there!
Also I have the DARK section that features feature Erotic Horror.
I also launched a SubscribeStar recently! Please come check it out!
Updated whenever I feel like it. :wave: :love:
Image
Post Reply