Mistress Jenifer wrote:Hello all;
been tinkering a bit (mostly out of boredom with nyx) with Tease AI and, well...
How would someone set up a loop with a chance exit? I read through most (okay I skimmed) the topics linked at the start. And nothing fully addressed this idea. In theory I want to do the following with a module;
Have the person enter into a cycle with the understanding of "If the picture shown has X, then do Y. If not continue". The idea is that even if they do Y or continue, they are basically just shown a new image and have the same rule apply. Or they have a chance to escape the loop and move on.
Originally, I thought of just setting it into a block similar to this;
Code: Select all
(EdgeCycle)
I wonder how many matches there are @NewBlogImage
[done, Done, Finished, finished, edged] Excellent moving on @Chance65(EdgeCycle)
Looks like thats all the photos for you #PetName
I do so hope you enjoyed it
but it spit out an error, so I presume that is because you can't reflect back into the same block from within the block. But even replacing the "@Chance65(EdgeCycle)" with something like "@Chance65(EdgeStart)" which reflects to the previous block which is a mirror image of the block above word for word except the Cycle replaced with Start. It gave me an error.
I really do not want to write out hundreds of these blocks just to have an endless cycle that they have a 35% chance to escape from. Because even as it stands there is a small chance if I write 100 of these, they can still get all 100 and then break the module essentially as I may not have set it a way out of that slim situation.
Anyone able to help?
Thanks!
~Jen
Hi,
I hope, I can help here.
First of all, you need a @AcceptAnswer or @DifferentAnswer after a "question". Like:
I wonder how many matches there are @NewBlogImage
[done, Done, Finished, finished, edged] Excellent moving on @Chance65(EdgeCycle)
@AcceptAnswer Excellent moving on @Chance65(EdgeCycle)
Looks like...
I think that have gave you the error
I don't really understand what you mean with "If the picture shown has X, then do Y. If not continue"
But I think, you can solve this with Variables.
Hope, this example could help you:
Code: Select all
Now let's see what we got... @Goto(LetsGo) @SetVar[AtLeast5]=[0]
(LetsGo)
#Surrender yourself to that image @ShowImage @ChangeVar[AtLeast5]=[AtLeast5]+[1]
[done, finished,...] Excellent moving on
@AcceptAnswer Excellent moving on
@NullResponse @If[AtLeast3]>[4]Then(Decide)
@NullResponse @Goto(LetsGo)
(Decide)
@NullResponse @Goto(LetsGo, Finish)
(Finish)
We are done for now pet
This little code lets loops you at least 5 times through. and when you got more, you get a 50:50 chance to escape
Here's another oportunity: when there are 2 genres you want to show, but only one counts
Code: Select all
Get ready to stroke your #Cock
To other cock's #Lol @SetVar[Number]=[0]
(Begin1)
Get ready
@NullResponse @SetVar[StrokeToCock]=[0] @Chance50(Softcore1)
(Cock1)
#StrokeToCock @ShowGayImage @ChangeVar[StrokeToCock]=[StrokeToCock]+[1] @ChangeVar[Number]=[Number]+[1]
@NullResponse @If[StrokeToCock]>[5]Then(StrokeToCockFinished1)
@NullResponse @Chance50(Softcore1)
@NullResponse @Goto(Cock1)
(Softcore1)
#StrokeToCockNot @ShowSoftcoreImage @ChangeVar[StrokeToCock]=[StrokeToCock]+[1]
@NullResponse @If[StrokeToCock]>[5]Then(StrokeToCockFinished1)
@NullResponse @Chance50(Cock1)
@NullResponse @Goto(Softcore1)
(StrokeToCockFinished1)
mmmh, that was #Hot
Let's see. You have seen #Var[Number] pics with a cock @If[Number]>[3]Then(Enough1)
@RandomText(I know you want more, That's not enough, #Gonna do more, By far not enough, You want to see more) @Goto(Begin1)
(Enough1)
I think that's enough for now
This code show a "cock" or a softcore image. after 5 pictures it checks, if one has seen 'enough' cocks
Hope i could help
