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
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 »

ski23 wrote: Sun Jun 11, 2017 1:03 am I have two questions.
1. How can I apply tags for videos like I can for images. I am having trouble finding this.
2. How can I edit how @SpeedUpCheck and @SlowDownCheck. Specifically, as it is, if a user is in the edging state, and this is called, the program simply says "go as fast as you want" or "go as slow as you want". I would like to make it so she might actually make you go faster or slower.
1- You can't tag videos, you can only select categories.
2- Check the command guide inside TeaseAI for the exact command, but I think it is @StrokeFaster(speed up) and @StrokeFastest(go to the max speed) or something like that. If you want to apply that for every "Go to the edge", I think you can add this to the #Edge vocabulary, just remember some edges don't use the #Edge vocabulary.
ski23
Explorer At Heart
Explorer At Heart
Posts: 466
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by ski23 »

avatarbr wrote: Mon Jun 12, 2017 10:42 pm
ski23 wrote: Sun Jun 11, 2017 1:03 am I have two questions.
1. How can I apply tags for videos like I can for images. I am having trouble finding this.
2. How can I edit how @SpeedUpCheck and @SlowDownCheck. Specifically, as it is, if a user is in the edging state, and this is called, the program simply says "go as fast as you want" or "go as slow as you want". I would like to make it so she might actually make you go faster or slower.
1- You can't tag videos, you can only select categories.
2- Check the command guide inside TeaseAI for the exact command, but I think it is @StrokeFaster(speed up) and @StrokeFastest(go to the max speed) or something like that. If you want to apply that for every "Go to the edge", I think you can add this to the #Edge vocabulary, just remember some edges don't use the #Edge vocabulary.
alright I'll look into that. Sad that you cant tag videos. What I might try doing is seeing if I can tag videos by making the tag part of the video name. not sure if it will be succesful or not as I'm mainly a developer and scripting doesn't allow for quite as much freedom as I'm normally use to.
ski23
Explorer At Heart
Explorer At Heart
Posts: 466
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by ski23 »

Anyone know of a good scripting environment for tease ai. I saw one specifically for it but it looks like the download link was removed. Specifically, I'd like to see something where I can search for all calls to a script. For example I could get all calls for (@commandNameHere).

Also, does anyone know how to alter or use the behavior of the domme mood. I know about the @dommehapy neutral and angry moods or whatever but, how does the range play into it that you define. Can you check what number her mood is. For example if I put her mood to 1-10, can/how do I check for her current mood number?
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 :wave:
I'm writing a script but I encountered a problem.

My idea is that the domme chooses "Path1" if, at least, X hours have passed since last orgasm(ruined or not), "Path2" if not.

The problem is that there's not a command that can do this and I don't have any variable or flag to help me with this.

Do you have any ideas?
Thanks in advance for your help.
Bye!
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 »

ski23 wrote: Mon Jun 12, 2017 11:58 pm Anyone know of a good scripting environment for tease ai. I saw one specifically for it but it looks like the download link was removed. Specifically, I'd like to see something where I can search for all calls to a script. For example I could get all calls for (@commandNameHere).

Also, does anyone know how to alter or use the behavior of the domme mood. I know about the @dommehapy neutral and angry moods or whatever but, how does the range play into it that you define. Can you check what number her mood is. For example if I put her mood to 1-10, can/how do I check for her current mood number?
the first one, I just use the windows search inside a folder.

The second, to change the Domme mood you use the commands @MoodUp and @MoodDown, and I think you can put number there now, and there is a specific command to put the level at the min or the max.

And, I am almost sure we have a command to show the mood, but I am not on my PC with TeaseAI right now. Did you tried the command guide inside TeaseAI?



tigrotto wrote: Wed Aug 09, 2017 5:21 pm My idea is that the domme chooses "Path1" if, at least, X hours have passed since last orgasm(ruined or not), "Path2" if not.
The problem is that there's not a command that can do this and I don't have any variable or flag to help me with this.
There is a command to check time, I think, but I never used. You can use that with a flag to get what you want. Like:

- User orgasm/ruined - @SetFlag(UserOrgasm) and probably something like @SetDate=0 (I am guessing that command here) too.
- When you need to choose the path, something like that:

@Flag(UserOrgasm) @Goto(CheckDate)
@Goto(Path 2)
(CheckDate)
@If Date >10 Then(Path 1)
@If Date <10 Then(Path 2)

I am guessing all the commands about date, I need to check other scripts to know the correct one. I am almost sure Spyci or MissBlue use something like this.

And I just remembered 1885 implemented something like @UpdateOrgasm or @UpdateRuined commands, for when you allow the user to cum/ruin outside the end script. Probably there is a @CheckOrgasm command or something like that.

I can see that later, but you can find some commands here: https://github.com/TeaseAI/Tease-AI/blo ... /README.md


EDIT:

Just found this on the command guide:

@CheckDate(SYS_LastOrgasm, 1 Month) I love knowing that you haven't cum in over a month #Grin

When specifying time intervals, you may use Seconds, Minutes, Hours, Days, Weeks, Months and Years. Pluralization and capitalization do not matter.


Take a look at the command guide, I think TeaseAI have what you need already.
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 Aug 09, 2017 9:19 pm
tigrotto wrote: Wed Aug 09, 2017 5:21 pm My idea is that the domme chooses "Path1" if, at least, X hours have passed since last orgasm(ruined or not), "Path2" if not.
The problem is that there's not a command that can do this and I don't have any variable or flag to help me with this.
Just found this on the command guide:

@CheckDate(SYS_LastOrgasm, 1 Month) I love knowing that you haven't cum in over a month #Grin

When specifying time intervals, you may use Seconds, Minutes, Hours, Days, Weeks, Months and Years. Pluralization and capitalization do not matter.


Take a look at the command guide, I think TeaseAI have what you need already.
Thanks!
Sorry I wasted your time for so little.
Bye! :wave:
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 Aug 09, 2017 9:19 pm Just found this on the command guide:

@CheckDate(SYS_LastOrgasm, 1 Month) I love knowing that you haven't cum in over a month #Grin
I was testing the solution you gave me but it doesn't work because I don't have a variable named SYS_LastOrgasm in my variables folder.

Is variable SYS_LastOrgasm created automatically by TeaseAI when the user has an orgasm or is it created manually by the user?
Bye!
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: Thu Aug 10, 2017 2:04 pm
avatarbr wrote: Wed Aug 09, 2017 9:19 pm Just found this on the command guide:

@CheckDate(SYS_LastOrgasm, 1 Month) I love knowing that you haven't cum in over a month #Grin
I was testing the solution you gave me but it doesn't work because I don't have a variable named SYS_LastOrgasm in my variables folder.

Is variable SYS_LastOrgasm created automatically by TeaseAI when the user has an orgasm or is it created manually by the user?
Bye!
I think it's a system variable, so should be automatic. Probably will be in another folder.

I imagine you should use something like this:

@CheckDate(SYS_LastOrgasm, 1 Hour) @NullResponse @Goto(path1)
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 everybody!
I have a problem with a script I'm writing. Could you help me sort it out?
The idea of the script is:

Sub needs to be punished
Domme picks a random audio file from a specified folder for the user to stroke to

At this point what I'm trying to do is:

The script should pause somehow(for pause I mean is not just disabling domme's ability to respond with @AFKOn, but avoiding the script to progress) until the sub reaches an edge or manages to stroke to end without edging.
  • If the sub edges the script should move to a line where domme tells him to stop stroking and to cooldown a bit.
    Then the domme would restart the audio file again from the beginning and tell the user to strat stroking again until he manages to stroke for the entire file without edging.
  • If/When the sub manages to stroke to the end without edging the script will continue as normal
Do you have any ideas to solve this problem?
I may have found an alternative solution(I didn't tried it yet), but I don't like it very much so I would use it as last resource.

Thanks in advance for your help!
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: Sun Aug 20, 2017 9:22 am Hi everybody!
I have a problem with a script I'm writing. Could you help me sort it out?
The idea of the script is:

Sub needs to be punished
Domme picks a random audio file from a specified folder for the user to stroke to

At this point what I'm trying to do is:

The script should pause somehow(for pause I mean is not just disabling domme's ability to respond with @AFKOn, but avoiding the script to progress) until the sub reaches an edge or manages to stroke to end without edging.
  • If the sub edges the script should move to a line where domme tells him to stop stroking and to cooldown a bit.
    Then the domme would restart the audio file again from the beginning and tell the user to strat stroking again until he manages to stroke for the entire file without edging.
  • If/When the sub manages to stroke to the end without edging the script will continue as normal
Do you have any ideas to solve this problem?
I may have found an alternative solution(I didn't tried it yet), but I don't like it very much so I would use it as last resource.

Thanks in advance for your help!
Bye :wave:
There are a few option to do that.

For the "fail" part, where the user edge, you can use @EdgeMode(Goto, useredged) and create a (useredged) line. After a break, put a @Goto(Startagain) to go back. The only problem is to pick the same audio file, since you want a ramdom. You can use a @TempFlag to make sure the same audio will be playing.

For the pause part, the best way to do that it's using a @Wait() with the audio file duration. Since you will use a ramdom file, you can create a vocabulary file calling all the audio files, something like this:

#ThisWillPlayTheAudio
@NotFlag(02,03) @NullResponse @PlayAudio[Audiofolder/01.mp3] @Wait(20) @TempFlag(01)
@NotFlag(01,03) @NullResponse @PlayAudio[Audiofolder/02.mp3] @Wait(30) @TempFlag(02)
@NotFlag(02,01) @NullResponse @PlayAudio[Audiofolder/03.mp3] @Wait(25) @TempFlag(03)

When the wait finish, the script will continue normaly.

The script would look like this:

Pet, stroke without edging @EdgeMode(Goto, useredged)
(Starting)
#ThisWillPlayTheAudio
#Stop
You did @EdgeMode(Normal)
@End
(useredged)
#Stop
You failed @Wait(20)
Let's try again @Goto(Starting)
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: Sun Aug 20, 2017 8:11 pm There are a few option to do that.

For the "fail" part, where the user edge, you can use @EdgeMode(Goto, useredged) and create a (useredged) line. After a break, put a @Goto(Startagain) to go back. The only problem is to pick the same audio file, since you want a ramdom. You can use a @TempFlag to make sure the same audio will be playing.

For the pause part, the best way to do that it's using a @Wait() with the audio file duration. Since you will use a ramdom file, you can create a vocabulary file calling all the audio files, something like this:

#ThisWillPlayTheAudio
@NotFlag(02,03) @NullResponse @PlayAudio[Audiofolder/01.mp3] @Wait(20) @TempFlag(01)
@NotFlag(01,03) @NullResponse @PlayAudio[Audiofolder/02.mp3] @Wait(30) @TempFlag(02)
@NotFlag(02,01) @NullResponse @PlayAudio[Audiofolder/03.mp3] @Wait(25) @TempFlag(03)

When the wait finish, the script will continue normaly.

The script would look like this:

Pet, stroke without edging @EdgeMode(Goto, useredged)
(Starting)
#ThisWillPlayTheAudio
#Stop
You did @EdgeMode(Normal)
@End
(useredged)
#Stop
You failed @Wait(20)
Let's try again @Goto(Starting)
Thanks for your reply avatarbr!
Your idea is very similar to my alternative solution(actually it seems simpler and more effective than mine).
Sorry I didn't post it yesterday afternoon, but I had work to do.
The idea works perfectly but my fear is that it could appear not as much user friendly as I wanted it to be.
Let me clarify...
The idea was to write a script that would allow everyone to add their own audio file without writing a single line of code, so that even the more inexperienced scripter could do this(even if it's not that complicated).

Sadly, that doesn't seem to be possible so I'll stick to this solution.

Thanks again for the help avatarbr!
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 Aug 21, 2017 7:17 am
Thanks for your reply avatarbr!
Your idea is very similar to my alternative solution(actually it seems simpler and more effective than mine).
Sorry I didn't post it yesterday afternoon, but I had work to do.
The idea works perfectly but my fear is that it could appear not as much user friendly as I wanted it to be.
Let me clarify...
The idea was to write a script that would allow everyone to add their own audio file without writing a single line of code, so that even the more inexperienced scripter could do this(even if it's not that complicated).

Sadly, that doesn't seem to be possible so I'll stick to this solution.

Thanks again for the help avatarbr!
Bye! :wave:
Well, still could work. You can require a min audio duration for the files (and the correct file name) and put a "stop sound" inside the #Stop vocabulary (like I did on HoT), what will make the user sound stops when the #Stop line run.
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: Mon Aug 21, 2017 7:57 pm Well, still could work. You can require a min audio duration for the files (and the correct file name) and put a "stop sound" inside the #Stop vocabulary (like I did on HoT), what will make the user sound stops when the #Stop line run.
Ok, thanks. I'll see what I can do.
Bye
User avatar
Shattered
Experimentor
Experimentor
Posts: 1391
Joined: Fri Jan 11, 2013 6:41 pm
I am a: Switch
Location: United Kingdom

Re: Tease Ai scripting: The HELP CORNER

Post by Shattered »

Got two short and hopefully simple questions -

1. Can you end a session in a start section? I'm looking to have a very short section and this seems like the best way to go about it.

2. Can you play a video while still having the text continue? I'd like you to interact with a certain point of the video while it is happening.

For both, this is the start in question.
Spoiler: show
You are going to do a JOI today.
But if she tells you to cum, you ask me permission.
And I'll randomly decide your fate :)
Ready to stroke?
[yes] Good.
@DifferentAnswer You mean yes.
Here you go. @PlayJOIVideo @wait(5) @Goto(Continue)
(Continue)
Say 'Please' when you are ready to cum.If she even lets you...
[please] @Rd(Denied,stop stroking, let go, ruin yourself, ruin your orgasm, cum)
See you tommorrow.
@EndTease
@End
Thanks!
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 »

Shattered wrote: Tue Aug 29, 2017 11:01 pm Got two short and hopefully simple questions -

1. Can you end a session in a start section? I'm looking to have a very short section and this seems like the best way to go about it.

2. Can you play a video while still having the text continue? I'd like you to interact with a certain point of the video while it is happening.

For both, this is the start in question.
Spoiler: show
You are going to do a JOI today.
But if she tells you to cum, you ask me permission.
And I'll randomly decide your fate :)
Ready to stroke?
[yes] Good.
@DifferentAnswer You mean yes.
Here you go. @PlayJOIVideo @wait(5) @Goto(Continue)
(Continue)
Say 'Please' when you are ready to cum.If she even lets you...
[please] @Rd(Denied,stop stroking, let go, ruin yourself, ruin your orgasm, cum)
See you tommorrow.
@EndTease
@End
Thanks!
1- Yes, it's correct.

2- You can have lines while playing a video, not sure about interacting (would stop the video?)

You just need a .txt file inside the folder Personality\Video\Scripts with the same name of the video. And you need to use this:

[00:00:00] Blah Blah

To make the line appears at that time of the video
Post Reply