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

User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

tigrotto wrote: Wed Nov 01, 2017 9:55 am
avatarbr wrote: Wed Nov 01, 2017 12:27 am
tigrotto wrote: Tue Oct 31, 2017 6:28 pm

When I use @Edge(Hold) @MultipleEdges(x, y) the user edges x times with y seconds break in between and he will be told to hold the final edge.

The question is: is it possible to use @LongHold(XX) or @ExtremeHold(XX) together with @MultipleEdges(x, y)?

In this case @Edge(Hold) @MultipleEdges(x, y) @ExtremeHold(XX) will I have XX chance to hold an extremely long edge or is not possible to use @LongHold(XX)/@ExtremeHold(XX) this way?

Thanks! :wave:
I think will not work, but should be easy to test. Just set a really low time for normal edges and see what happens.
Why didn't I think about it before, I don't know.
Thanks I'll try that now.

Bye :wave:
Tried your solution and it works! Thanks!
You can also use @LongHold(XX) and @ExtremeHold(XX) on the same line, like this:

#Edge @Edge(Hold) @MultipleEdges(x,y) @LongHold(XX) @ExtremeHold(XX)

:wave:
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

Nice. TeaseAI will pick a ramdom edge between normal, long and extreme?
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

avatarbr wrote: Thu Nov 02, 2017 12:38 am Nice. TeaseAI will pick a ramdom edge between normal, long and extreme?
Yeah. I did as you said changing the length of normal, long and extreme edges so I could recognize them easily.
Then I wrote a simple script with four lines like this

#Edge @Edge(Hold) @MultipleEdges(2,2) @LongHold(XX) @ExtremeHold(XX)

each with different percentages. I tried 50-50, 50-10, 10-50, 10-10.
Then I ran the script a couple of times and the results were:

50-50: 1st extreme - 2nd long
50-10: 1st and 2nd long
10-50: 1st normal - 2nd extreme
10-10: both normal

Try it yourself! Maybe it could be useful for a script in HoT. As for me, I already changed one of my scripts for BlackJerk 6.0 and I'm very happy about it.

I haven't test it, but instead of simple numbers you could use #Random(a,b) inside @Long/ExtremeHold; this way you'll have different chances everytime the script is called

Bye and thanks! :wave:

P.S. This is my hundredth post! :w00t: :yay: :cake:
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

Hi!
Small question: could there be any problem if I use @DecideEdge outside modules that end in _EDGING?

I'm asking this because the TeaseAI Language Guide says:
This Command should only be used in Linear scripts that occur after the user has reported being on the edge.

The most common examples are Modules that end in _EDGING.txt, but there are other possible places to use @DecideEdge as well, such as Avoid the Edge scripts.
Thanks!
Bye! :wave:
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

tigrotto wrote: Fri Nov 03, 2017 4:56 pm Hi!
Small question: could there be any problem if I use @DecideEdge outside modules that end in _EDGING?

I'm asking this because the TeaseAI Language Guide says:
This Command should only be used in Linear scripts that occur after the user has reported being on the edge.

The most common examples are Modules that end in _EDGING.txt, but there are other possible places to use @DecideEdge as well, such as Avoid the Edge scripts.
Thanks!
Bye! :wave:
I don't know about problems, but the guide says you can use on avoid the edge?

@DecideEgde will works like a @Edge, since the last one will decide if you stop or hold too.
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

Question:

When I create a variable to check a period of days, like that:

@Variable[#DateDifference(AV_NoSpoiler,Days)]>[15]

When creating the variable, can I use days
@SetDate(AV_NoSpoiler,0 Days)

or seconds?
@SetDate(AV_NoSpoiler,0 seconds)
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

avatarbr wrote: Wed Nov 08, 2017 12:39 am Question:

When I create a variable to check a period of days, like that:

@Variable[#DateDifference(AV_NoSpoiler,Days)]>[15]
No, you can't use it that way. I did it too while testing a script and this is what Stefaf told me:
Stefaf wrote: Sun Nov 05, 2017 5:13 pm
tigrotto wrote: Sun Nov 05, 2017 3:29 pm @Variable[#DateDifference(SYS_LastOrgasm, Hours)]>[48] You had your last orgasm on @ShowVar[SYS_LastOrgasm]
There are 2 reasons why it doesn't work.
- #DateDifference returns a number. Then @Variable would search for a variable named like that returned number.
If you want to use @Variable[] with #DateDifference() you should do this:

@SetVar[check_date_diff]=[#DateDifference(AV_NoSpoiler,Days)]
@Variable[check_date_diff]>[15]
avatarbr wrote: Wed Nov 08, 2017 12:39 am When creating the variable, can I use days
@SetDate(AV_NoSpoiler,0 Days)

or seconds?
@SetDate(AV_NoSpoiler,0 seconds)
Yes. I did some test with @SetDate(XXX, 0 seconds) for a script I was writing and the result was the current date and time, so it should work also with 0 minutes, hours or days.
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

PtheV wrote: Wed Nov 08, 2017 1:59 pm
tigrotto wrote: Wed Nov 08, 2017 7:58 am
avatarbr wrote: Wed Nov 08, 2017 12:39 am Question:

When I create a variable to check a period of days, like that:

@Variable[#DateDifference(AV_NoSpoiler,Days)]>[15]
No, you can't use it that way. I did it too while testing a script and this is what Stefaf told me:
Stefaf wrote: Sun Nov 05, 2017 5:13 pm

There are 2 reasons why it doesn't work.
- #DateDifference returns a number. Then @Variable would search for a variable named like that returned number.
Well I don't know, but I've been using #DateDifference and @Variable in exactly this way - or actually: @Variable[#DateDifference(PreviouslySetDate,Seconds)]<[21] - in response files and it works fine... a line with this filter would only be included if @SetDate(PreviouslySetDate,0 Seconds) was set less than 21 seconds ago.
Well, I can confirm that @Variable works also with #DateDifference. I made a small test script using @Variable[#DateDifference(date, seconds)]>[5] with variable date set more than 5 seconds ago and it works.
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

tigrotto wrote: Wed Nov 08, 2017 7:58 am Yes. I did some test with @SetDate(XXX, 0 seconds) for a script I was writing and the result was the current date and time, so it should work also with 0 minutes, hours or days.
Thanks...Would take a few day to test that :lol:

Since I only used with seconds so far, I was not sure if I could use "days" to start the timer.

It's number of days, something I don't want to appear to often in the script.
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 564
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by tigrotto »

Hi!
I have a question for you. I've written two version of the same code for a script of mine. Which of the two takes less time to be processed? The original version or the modified version?

Original version
Spoiler: show

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @If[02_counter]=[0]Then(Choose_card)
@NullResponse @ChangeVar[card_dealt]=[card_dealt]+[1]
@NullResponse @ChangeVar[02_counter]=[02_counter]-[1]
@NullResponse @Flag(Sub turn) @ChangeVar[Sub_number_of_cards]=[Sub_number_of_cards]+[1]
@NullResponse @Flag(Sub turn) @ChangeVar[Sub_points]=[Sub_points]+[2]
@NullResponse @Flag(Domme_turn) @ChangeVar[Domme_number_of_cards]=[Domme_number_of_cards]+[1]
@NullResponse @Flag(Domme_turn) @ChangeVar[Domme_points]=[Domme_points]+[2]
@NullResponse @Flag(Contact1 turn) @ChangeVar[Contact1_number_of_cards]=[Contact1_number_of_cards]+[1]
@NullResponse @Flag(Contact1 turn) @ChangeVar[Contact1_points]=[Contact1_points]+[2]
@NullResponse @Flag(Contact2 turn) @ChangeVar[Contact2_number_of_cards]=[Contact2_number_of_cards]+[1]
@NullResponse @Flag(Contact2 turn) @ChangeVar[Contact2_points]=[Contact2_points]+[2]
@NullResponse @Flag(Contact3 turn) @ChangeVar[Contact3_number_of_cards]=[Contact3_number_of_cards]+[1]
@NullResponse @Flag(Contact3 turn) @ChangeVar[Contact3_points]=[Contact3_points]+[2]
@NullResponse @RapidCodeOff
Modified version
Spoiler: show

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @If[02_counter]=[0]Then(Choose_card)
@NullResponse @ChangeVar[card_dealt]=[card_dealt]+[1] @ChangeVar[02_counter]=[02_counter]-[1]
@NullResponse @Flag(Sub turn) @ChangeVar[Sub_number_of_cards]=[Sub_number_of_cards]+[1] @ChangeVar[Sub_points]=[Sub_points]+[2]
@NullResponse @Flag(Domme_turn) @ChangeVar[Domme_number_of_cards]=[Domme_number_of_cards]+[1] @ChangeVar[Domme_points]=[Domme_points]+[2]
@NullResponse @Flag(Contact1 turn) @ChangeVar[Contact1_number_of_cards]=[Contact1_number_of_cards]+[1] @ChangeVar[Contact1_points]=[Contact1_points]+[2]
@NullResponse @Flag(Contact2 turn) @ChangeVar[Contact2_number_of_cards]=[Contact2_number_of_cards]+[1] @ChangeVar[Contact2_points]=[Contact2_points]+[2]
@NullResponse @Flag(Contact3 turn) @ChangeVar[Contact3_number_of_cards]=[Contact3_number_of_cards]+[1] @ChangeVar[Contact3_points]=[Contact3_points]+[2]
@NullResponse @RapidCodeOff
The difference between the two is that in the Modified version I grouped some lines, so it's 6 lines shorter than the Original version but it has the same commands.

So, the time needed to process the code depends only on the number of lines or also on the commands written in those lines?

Thanks!

Bye :wave:
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

tigrotto wrote: Mon Nov 13, 2017 11:03 am
So, the time needed to process the code depends only on the number of lines or also on the commands written in those lines?

Thanks!

Bye :wave:
Normally, I think, less lines is faster.

I started using the @AddContact in the same line
like this:
@NullResponse @AddContact1 @AddContact2 @AddContact3

instead of this
@NullResponse @RapidCodeOn
@NullResponse @AddContact1
@NullResponse @AddContact2
@NullResponse @AddContact3

And looks like much faster to run.
Spielers
Explorer At Heart
Explorer At Heart
Posts: 309
Joined: Mon Jan 09, 2017 8:26 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

on/off in build metronome

Post by Spielers »

Hey can I switch the in build metronome on and off in the Script txt is there an command?
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: on/off in build metronome

Post by avatarbr »

Spielers wrote: Tue Nov 14, 2017 11:25 pm Hey can I switch the in build metronome on and off in the Script txt is there an command?
You can go in the Apps tab, Metronome and deselect the first option.
Spielers
Explorer At Heart
Explorer At Heart
Posts: 309
Joined: Mon Jan 09, 2017 8:26 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: on/off in build metronome

Post by Spielers »

avatarbr wrote: Tue Nov 14, 2017 11:40 pm
Spielers wrote: Tue Nov 14, 2017 11:25 pm Hey can I switch the in build metronome on and off in the Script txt is there an command?
You can go in the Apps tab, Metronome and deselect the first option.
I know but is there also a @command for this?
flying1
Explorer
Explorer
Posts: 15
Joined: Wed Nov 15, 2017 3:08 pm

Re: Tease Ai scripting: The HELP CORNER

Post by flying1 »

Hello! I wrote smth like personality. Took House of Tease and chaged almost all files there. And so I got few questions.
  • When there is used Slideshow or pictures are changing too fast, the whole Tease AI is lagging. How can I show random pictures at high speed without lagging, what is the best way to do it? (local and urls mixed)
  • If I want smth like objects or records, what should I use to replace them? (as I know, there are problems even with string variables in the last version)
Post Reply