Tease Ai scripting: The HELP CORNER

Webteases are great, but what if you're in the mood for a slightly more immersive experience? Chat about Tease AI and other offline tease software.

Moderator: 1885

Post Reply
Harry2stroke
Explorer
Explorer
Posts: 53
Joined: Wed Nov 16, 2011 6:50 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Harry2stroke »

genome231 wrote:I have a question regarding contacts

When I run scripts containing glitterfriends
I mainly get shown the same 1-3 images, even though they might have 20-40 lines and +50 pictures to choose from?
Why is this?
It doesn't matter if I run the script again, still the same pictures?
I noticed that if I have multiple folders, It might change which folder to use (and thus changing the pictures), but its still only showing 1-3 images from that folder, and always the same ones...
One of my contacts only has 1 folder and despite containing about 120 images, it will allways choose the 3 same images to show, always starting out with the same...

Images of the domme show in random order, constantly changing, but glitterimages doesn't seem too
Can anyone help?
I'm running tease AI ver. 48.4

Regards
Genome
i didnt really realize this, sorry
will focus on that, of the pics are always the same :-)

i have another question about variable
i read in the thread that there is also an @InputVar[] which should pick up whats written in chat
but should this variable be used correctly ?
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

genome231 wrote:I have a question regarding contacts

When I run scripts containing glitterfriends
I mainly get shown the same 1-3 images, even though they might have 20-40 lines and +50 pictures to choose from?
Why is this?
It doesn't matter if I run the script again, still the same pictures?
I noticed that if I have multiple folders, It might change which folder to use (and thus changing the pictures), but its still only showing 1-3 images from that folder, and always the same ones...
One of my contacts only has 1 folder and despite containing about 120 images, it will allways choose the 3 same images to show, always starting out with the same...

Images of the domme show in random order, constantly changing, but glitterimages doesn't seem too
Can anyone help?
I'm running tease AI ver. 48.4

Regards
Genome
sadly there is nothing we can do here....the "randomness" of tease AI is really poorly made (probably the only really bad part of the program :D).
I have the same problem even with the mistress set to random...i have folders with 100+ pics each and during the whole tease it will show the same 30-40ish most of the time repeating them few times....the only way to see them all is to avoid random and start from pic1 and put 100% chance forward (image next/previous chance under range settings),,,,the problem then is that when it reaches the end of the folder it remains on that pic if i recall correctly (and even if it started over....well it will always be the same pattern.....randomness is much better for replayability).

Glitter folders in particular, don't even consider random...they always start from the first pic and go on from there....depending on the next/back chance you have set up you may easily end with them showing the same few pics....try setting that to 100% (it wont affect random mistress basically....or at lease it didn't seem to affect it to me) but it should make the glitter folder always go forward atleast....not totally sure though on that
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

Harry2stroke wrote:
genome231 wrote: i have another question about variable
i read in the thread that there is also an @InputVar[] which should pick up whats written in chat
but should this variable be used correctly ?
sorry never used that command....i couldn't really see a use for it....but someone may find it useful....is for storing info like let's say "your favoured color"? you can store your answer in a var using @InputVar[] and then reuse it somewhere else using @ShowVar() like "I remember you really like @ShovVar ..."
pepsifreak
Explorer At Heart
Explorer At Heart
Posts: 145
Joined: Fri May 08, 2009 8:50 pm
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by pepsifreak »

The contact image thing is actually bug, where obviously it wasn't randomizing anything at all. It is now fixed for the next patch.
User avatar
genome231
Explorer At Heart
Explorer At Heart
Posts: 738
Joined: Wed Nov 12, 2014 8:35 am

Re: Tease Ai scripting: The HELP CORNER

Post by genome231 »

As always!

Thank you for the replies :)
Happy that it's a bug, was already thinking about different ways to solve it, all a bit time consuming :)

Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by opiate »

Does anyone know how @SetDate and @CheckDate work?
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by opiate »

PtheV wrote:
opiate wrote:Does anyone know how @SetDate and @CheckDate work?
Daragorn wrote:
PtheV wrote:This is the first time I've seen these commands mentioned, what do they do?
They work similarly to the orgasm lock date...i used them for example to set up things like, mistress goes on vacation for x days and she cant tease me till the end of that period.
I have a script where she @SetDate(name, #Random(1,5)) (it creates a variable called name which date is 1-5 days from current date).
You can show the date with @ShowVar(name) and you can use it to block stuf untill the date has expired.
For ex i have all my start scripts start with @NullResponse @CheckDate(name,line).
What happens here is that, if the current date is beyond "name" date, then the program moves to (line) and goes on from there, otherwise is moves to the next line after @NullResponse @CheckDate(name,line).

Here is an example:
@NullResponse @CheckDate(nonGioco,partenza)
#SubName, I remember telling you that i wasn't going to talk to you again before @ShowVar[nonGioco]
And that still stands!
I don't care if you are desperate to see me and can't wait any longer
Well....actually i <i>love</i> knowing it #Lol
Because, now that you know how <i>addicted</i> to me you are...
Next time maybe you'll be more willing to go in chastity for me when i ask you to #Smile@EndTease
But, since you refused last time...
You'll have to wait now
And, remember...<b>NO</b> cumming, <b>NO</b> stroking and <b>NOT EVEN</b> touching my #Cock until then
Bye @EndTease
@End
\\fine parte in sospeso\\
(partenza)
#GreetSub
Are you as happy to see me as I am to see you?
[no] No? @Goto(You Must Know What I'm About To Do)
[yes] I'm glad to hear that #SubName
[not happy, not] No? @Goto(You Must Know What I'm About To Do)
...

...

If today is beyond what is set in nonGioco,then it goes to (partenza) and greet me and start a session, otherwise she will tell me it is too early to play again and will end the session.

Ok so.. @SetDate(EC5, 5)
It will set a variable named EC5, that ticks down in values of 1 per real life days?

and @CheckDate(EC5) will just check to see if the value stored in EC5 has a value greater than 0/
and @CheckDate(Ec5, 0) would check the value, and if the value is 0, it will @Goto(0)?
Harry2stroke
Explorer
Explorer
Posts: 53
Joined: Wed Nov 16, 2011 6:50 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Harry2stroke »

Hi together

Please i need your help again
Can someone tell me what i am missing here ?
Spoiler: show
(start)
@EdgeHold
Can you do another one?
[yes] Great
[no] Ok then immediately stop stroking @Goto(Final)
@DifferentAnswer Yes or no #PetName?
Then just prepare for the next one
@NullResponse @Goto(start)
(Final)
WOW #SubName
You were really gooning out babe!
Simply awesome!
How do you feel now?
[good, fantastic, great] I can imagine that.
[bad, awful, shit] Oh you didnt like it though?
@AcceptAnswer I really liked it very, very much!
That was just a fantastic session with you
@End
I am trying to do a short loop, but there is always an error and i dont get the error i am doing here. :no:

When i compare it with the loop from 1885s Risky Pick for me its nearly the same
Of course except the IF part and the multiple ways
Spoiler: show
(Edged By Domme)
#Edge @RapidTextOff @EdgeNoHold @ChangeVar[RP_Edges]=[RP_Edges]-[1]
@NullResponse @If[RP_Edges]=[0]Then(Edges Finished)
@NullResponse @Goto(Butt Cooldown, Boob Cooldown, Could Let You Rest, It's Kinda Funny, We Should Play More, BnB Slideshow, Stare At This Picture, Wait For It, Wait For It JK, Know What'd Be Funny, Who Has A Nicer Ass, RP Edge Count, I Love Playing Games, Pause For Edge Count, This Many Edges Left, Even When These Edges Are Done, Probably In A Hurry, I Could Let You Rest, Days Instead Of Edges)
(Days Instead Of Edges)
#LetTheEdgeFade
There should be a version of Risky Pick where we play for days denied instead of edges
Maybe I should look into that
The only question is
How many days should be the max #Grin @Goto(Edged By Domme)
Thx
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

opiate wrote:Ok so.. @SetDate(EC5, 5)
It will set a variable named EC5, that ticks down in values of 1 per real life days?

and @CheckDate(EC5) will just check to see if the value stored in EC5 has a value greater than 0/
and @CheckDate(Ec5, 0) would check the value, and if the value is 0, it will @Goto(0)?
Nope... @SetDate(EC5, 5) will create a variable with inside the date and hours of 5 days from now...it won't tick at all, it just register the date and hour it will be 5 days from now....@SetDate(ec5,0) will set this exaxct moment, day and hour.....when you want to "erase" the date just @SetDate(ec5,0), better than deleting it since it will cause no crashes whenever it @CheckDate(ec5,lineName)

@CheckDate(EC5) i think will just give you error or, if not, will mean nothing, it will simply go to the next line (but if i remember well it gives an error)

@CheckDate(Ec5, 0) will check if today is beyond the date set in EC5 and, if it is, it will go to line (0), otherwise will go to the next line in the script.

Here is an example of my start module (i have a module asking me something and depending on my answer she will not see play with me for X random days).

In the module i @SetDate(nonGioco,#Random(1,5)), then in my start i do:

@NullResponse @CheckDate(nonGioco,partenza)
#SubName, I remember telling you that i wasn't going to talk to you again before @ShowVar[nonGioco]
And that still stands!
I don't care if you are desperate to see me and can't wait any longer
Well....actually i <i>love</i> knowing it #Lol
Because, now that you know how <i>addicted</i> to me you are...
Next time maybe you'll be more willing to go in chastity for me when i ask you to #Smile@EndTease
But, since you refused last time...
You'll have to wait now
And, remember...<b>NO</b> cumming, <b>NO</b> stroking and <b>NOT EVEN</b> touching my #Cock until then
Bye @EndTease
@End
(partenza)
#GreetSub <---here starts the real session

So, when i start tease ai, it will check if today is beyond what is written in nonGioco, if it is, it goes to (partenza) and start the session, if it isn't, it goes to the following line and basically end the tease right away.

P.s: if you use @ShowVar(EC5) it will display the date stored in EC5 variable.
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

Harry2stroke wrote: @EdgeHold
Change this with @NullResponse @EdgeHold and i think it will work....tease AI don't like too much commands as starts of a line, if you don't write anything in that line, just always use @NullResponse also (it will also avoid showing a blank line in the chat when it reaches that point :smile: )
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by opiate »

Daragorn wrote:
opiate wrote:Ok so.. @SetDate(EC5, 5)
It will set a variable named EC5, that ticks down in values of 1 per real life days?

and @CheckDate(EC5) will just check to see if the value stored in EC5 has a value greater than 0/
and @CheckDate(Ec5, 0) would check the value, and if the value is 0, it will @Goto(0)?
Nope... @SetDate(EC5, 5) will create a variable with inside the date and hours of 5 days from now...it won't tick at all, it just register the date and hour it will be 5 days from now....@SetDate(ec5,0) will set this exaxct moment, day and hour.....when you want to "erase" the date just @SetDate(ec5,0), better than deleting it since it will cause no crashes whenever it @CheckDate(ec5,lineName)

@CheckDate(EC5) i think will just give you error or, if not, will mean nothing, it will simply go to the next line (but if i remember well it gives an error)

@CheckDate(Ec5, 0) will check if today is beyond the date set in EC5 and, if it is, it will go to line (0), otherwise will go to the next line in the script.

Here is an example of my start module (i have a module asking me something and depending on my answer she will not see play with me for X random days).

In the module i @SetDate(nonGioco,#Random(1,5)), then in my start i do:

@NullResponse @CheckDate(nonGioco,partenza)
#SubName, I remember telling you that i wasn't going to talk to you again before @ShowVar[nonGioco]
And that still stands!
I don't care if you are desperate to see me and can't wait any longer
Well....actually i <i>love</i> knowing it #Lol
Because, now that you know how <i>addicted</i> to me you are...
Next time maybe you'll be more willing to go in chastity for me when i ask you to #Smile@EndTease
But, since you refused last time...
You'll have to wait now
And, remember...<b>NO</b> cumming, <b>NO</b> stroking and <b>NOT EVEN</b> touching my #Cock until then
Bye @EndTease
@End
(partenza)
#GreetSub <---here starts the real session

So, when i start tease ai, it will check if today is beyond what is written in nonGioco, if it is, it goes to (partenza) and start the session, if it isn't, it goes to the following line and basically end the tease right away.

P.s: if you use @ShowVar(EC5) it will display the date stored in EC5 variable.
Thank you!
Harry2stroke
Explorer
Explorer
Posts: 53
Joined: Wed Nov 16, 2011 6:50 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Harry2stroke »

Daragorn wrote:
Harry2stroke wrote: @EdgeHold
Change this with @NullResponse @EdgeHold and i think it will work....tease AI don't like too much commands as starts of a line, if you don't write anything in that line, just always use @NullResponse also (it will also avoid showing a blank line in the chat when it reaches that point :smile: )
THX Daragorn
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

opiate wrote:Thank you!
Glad to be helpful ;-)
Harry2stroke wrote:THX Daragorn
You're welcome :smile:
User avatar
genome231
Explorer At Heart
Explorer At Heart
Posts: 738
Joined: Wed Nov 12, 2014 8:35 am

Re: Tease Ai scripting: The HELP CORNER

Post by genome231 »

Is it possible to set the same flag twice or third in a session?
Will the AI simply ignore the second and third set flag commando or will it crash?

Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
Daragorn
Explorer At Heart
Explorer At Heart
Posts: 587
Joined: Fri Nov 06, 2015 1:16 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by Daragorn »

Daragorn wrote: @SetDate(EC5, 5) will create a variable with inside the date and hours of 5 days from now...
So if @SetDate(today,1) runs today at say 10pm, and @CheckDate(today) runs tomorrow at 9:55pm, then TeasAI will not consider that day passed... Wouldn't it make more sense for @SetDate to always use, for example, 6am as the divide between days? Although of course it would mean the date in Tease AI should also change at 6am, I don't know if that's even possible. What do you guys think?[/quote]

this is what 1885 wrote in the code for setDate():
The @SetDate() Command allows you to set a time and date that's a specified amount of time in the future from the current time and date. Correct format is @SetDate(VarName, TimeAmount) . For example, @SetDate(EdgingStop, 1 Hour) would set a Variable called "EdgingStop" whose value is 1 hour away from the current time and date. As another example, @SetDate(NextOrgasmChance, 2 Weeks) would create a Variable called "NextOrgasmChance" whose value is 2 weeks from the current date. The available time increments are - Seconds, Minutes, Hours, Days, Weeks, Months and Years. When designating an amount of time, capitalization and pluralization do not matter. If no increment is specified, "Days" will be used.

So, you can set an amount of time as you wish, if you specify it....but it will alway be an amount starting from the moment you @SetDate() obviously, so, there is no way to set it for a specific hour of a day sorry. You could give you some "space" to avoid the problem you mentioned by setting @SetDate(today,1) to @SetDate(today,23 hours)...so if you restart it by 9pm onward it will work, it gives you 1 hour window margin compared to the moment you run teaseAI yesterday, which is more than enough i think (otherwise it wouldn't be a "1 day" lock if you lower it even more :w00t: ....but that's up to you to decide how to use it :lol: )
Post Reply