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

TanyaHumble
Explorer
Explorer
Posts: 94
Joined: Fri Dec 10, 2021 9:09 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by TanyaHumble »

Daragorn wrote: Thu Jan 04, 2024 10:59 am
TanyaHumble wrote: Thu Jan 04, 2024 10:07 am 1. I have no reliable way to improve the mood. But that is less of an issue atm.
In old TAI there were the commands @MoodUp and @MoodDown to raise/lower the mood by 1 point (and also other to set her to specific values (@MoodBest, @MoodWorst, for example, if i remember correctly, and maybe there were few more, don't remember all)
There are also @ApathyLevelUp and @ApathyLevelDown for apathy; i think they are present and working also in Awakening, not 100% sure, though.
2.I would like to have some sort of safe guard against a bad mood streak. And I am not sure how to do it. My thinking is some counter that checks if her mood is below 3 and if after 3 days at the end still rolls low it set's the mood to an average 5 ( I use 1-10 for mood ) She can be mad/pissed but after a few days it always settles down so to speak.
You could put some check in the startscript and endscript:
endscript: trigger a flag/variable if she is under a certain mood. Something like:
@BadMood @NullResponse @ChangeVar[badmoodDays]=[badmoodDays]+[1]

startscript: check wheter the number of times she ended in badmood was over a certain threshold and eventually change her mood (and reset the variable to 0)
@Variable[badmoodDays]>=[3] @NullResponse @MoodUp (repeat this line as many times as you feel like to rise her mood enough for your tastes)
@Variable[badmoodDays]>=[3] @NullResponse @SetVar[badmoodDays]=[0] (reset the variable to 0 to restart the cycle)
In case of 1 I was thinking more in the lines of adding scripts or calls that gives a chance to raise the mood. But the @ApathyLevelUp command gives me some ideas to play around with!

I'll try to add those lines and see if they work. Thank you!

In a MB3.7 script I saw this line

Code: Select all

@NullResponse @RapidCodeOn @SetMood(#DomMoodMin)
but saw no documentation on it.

Code: Select all

@NullResponse @SetMood(5)
My hope is this will work, else I will resort to your solution.
TanyaHumble
Explorer
Explorer
Posts: 94
Joined: Fri Dec 10, 2021 9:09 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by TanyaHumble »

I noticed with your setup it changed the mood on the first run to 5 as the variable was 0 and the @SetMood worked like a charm.

So I think this might work as I want?

If badmooddays are 3 or more ( in case of errors ) set it mood to 5. Or is it sufficient to just have it to "<[3]" I guess the later would just be 4 and up if I understand it correctly.

Code: Select all

@Variable[BadMoodDays]<=[3] @NullResponse @SetMood(5)
@Variable[BadMoodDays]<=[3] @NullResponse @SetVar[BadMoodDays]=[0]
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 »

TanyaHumble wrote: Thu Jan 04, 2024 5:32 pm I noticed with your setup it changed the mood on the first run to 5 as the variable was 0 and the @SetMood worked like a charm.
ah yes, the first time since you don't have the var it does that...unless you create the var and set it beforehand.
As for the @SetMood[#DomMoodMin] it simply uses a vocab file to decide what value you have, picking randomly from the values inside that vocab, just like when using any other vocab. I am not 100% sure it work in Awakening, though i think it does.
Basically you could use that to decide different flag/variables inside that vocab file, using filters, to determine the mood of the domme.
For example you could put these lines in the #vocab file:
3
@ApathyLevel1 4
@Flag(nameOfaFlag) 5
...
...
etc etc

In this example, considering those 3 lines in the vocab file, you could either start with the domme on a mood of 3 (this will always be used as a possible option since there is no condition specified), a mood of 3 or 4 if her apathy is 1, a mood of 3 or 5 if there is the flag but her apathy is not 1, a mood of 3-4-5 if she is on apathy 1 and there is the flag

So I think this might work as I want?
If badmooddays are 3 or more ( in case of errors ) set it mood to 5. Or is it sufficient to just have it to "<[3]" I guess the later would just be 4 and up if I understand it correctly.

Code: Select all

@Variable[BadMoodDays]<=[3] @NullResponse @SetMood(5)
@Variable[BadMoodDays]<=[3] @NullResponse @SetVar[BadMoodDays]=[0]
Doing that way will mean that you always have a mood of 5 not that you will have a mood of 5 when she has 3+ days ended up badly (you will also have it always on 5 since, first you check if the variable is less than 3, and set the mood to 5 in that case...and then you reset the var to 0, so it will always be <=3 no matter what)
To make so that she "resets" to 5 only after 3+ bad days you have to use >= in both lines; that way, when it is less than 3+ days of badmood, those lines will do nothing and the mood will remain the same, but when it goes to 3+, it will set the mood to 5 and then reset the counter to 0.
TanyaHumble
Explorer
Explorer
Posts: 94
Joined: Fri Dec 10, 2021 9:09 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by TanyaHumble »

I'll give it a go. it just feels wrong to me since the variable was 0 to start with it should not have set it to 5, unless the random mood set it to 5 and I over reacted :blush:

restarted and it did work now. Thanks for the help~ :love: :love: :love:
Farquad15
Curious Newbie
Curious Newbie
Posts: 1
Joined: Mon Jan 29, 2018 7:37 am

Re: Tease Ai scripting: The HELP CORNER

Post by Farquad15 »

I've been looking for about 2 hours and i cannot find what you type in the chat bar to have the program tell you what script it is on. Any help here would be awesome! I used this all the time when modifying my program.

Thank you in advance!
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease Ai scripting: The HELP CORNER

Post by markus »

Farquad15 wrote: Thu Jan 16, 2025 6:21 pm I've been looking for about 2 hours and i cannot find what you type in the chat bar to have the program tell you what script it is on. Any help here would be awesome! I used this all the time when modifying my program.

Thank you in advance!
Hi!

@

That should be it.
In Awakening you could also use CTRL + F11 to look at the script 'on-the-fly'.

Greetz,
Markus
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 »

Hi :wave:

Looking for some insights into:
@Slideshow(X,Y)

All I know about is:
@SlideshowOn to start it
@SlideshowOff to stop it

X is category, and I know of "General" and "Femdom".
Y Is optional and be phrases like "very slow", fast etc.
so for instance it could be: @Slideshow(Femdom, very slow)

Q1: Is there an input for X which would display a slideshow of the domme(s)?
Q2: What is the full list of input for X and Y?

Any help is greatly appreciated :-)

Cheers
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease Ai scripting: The HELP CORNER

Post by markus »

genome231 wrote: Wed Jan 29, 2025 11:51 am Q2: What is the full list of input for X and Y?

Hey there! :wave:

First of all, @Slideshow was implemented VERY early and then I've never touched it again, never using it myself.
I always use loops which some @ShowImage() commands , if that would work for you, I'd recommend this way.


Alright, digging in the code... it seems the place of X and Y doesn't matter
Speed:
"Slow": 15000ms
"Fast": 2000ms
If it's not fast or slow it's default: 7000ms
Also 1 or 2 numbers should work as delay time, if it's one number, it's the delay, if it's 2 numbers the delay is random between these 2, both numbers as milliseconds.

Genre:
Should work with all the genres used in other commands. (Femdom, Femsub, All) etc.

Local/Online:
"localonly" and "onlineonly" is possible as parameter, I guess quite self-explaining.

---> I didn't tested that right now, but in theory something like this should work:
@Slideshow(Hardcore, Softcore, 2500, 8000, localonly)

Q1: Is there an input for X which would display a slideshow of the domme(s)?
Nope.
The closest to that would be this: (but these are not parameters for the slideshow o/c, just 'commands')

@NullNextDommeImage -> to be used to display the next image of the domme slideshow without any text, to be used (and works only anyway) in a @NullResponse-line, works also with contacts, i.e.:
Worship me, worship my body. @Wait(3)
@NullResponse @NullNextDommeImage @Wait(2)
@NullResponse @NullNextDommeImage @Wait(2)
@Contact2 Now my turn ...
@Contact2 @NullResponse @NullNextDommeImage @Wait(2)
@Contact2 @NullResponse @NullNextDommeImage @Wait(2)


Best greetings,
Markus

Btw.: Looking forward to what you've made out of the (still limited (sorry! :whistle: :blush: )) possibilities so far for the remote toys!
geroni
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Jun 28, 2025 2:08 am

Re: Tease Ai scripting: The HELP CORNER

Post by geroni »

Hi,

I was wondering what file formats work for images and videos respectively?
Also is there a way for @ShowImage to pull a file with a video format like .mp4? I would rather not use gif :-/
Or if theres another picture format that allows for motion
- this is for tease ai fury

Thanks :wave:
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease Ai scripting: The HELP CORNER

Post by markus »

Hi and welcome to the forum!

Images:
.jpg|.jpeg|.bmp|.png|.gif

Videos:
.wmv", ".avi", ".mp4", ".m4v", ".mpg", ".mov", ".flv", ".mkv
These are the used extensions, what actually can be played depends what your windows media player can play, for some videos maybe a codec pack can become necessary.

Also is there a way for @ShowImage to pull a file with a video format like .mp4?
No.
For animated images, gif is the only way, TAI Fury is outdated, gif display can stutter, if you play something else than the Fury personality, go for Awakening, still only gifs but they play much better, and plays basically any video out of the box.

Greetz,
Markus
geroni
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Jun 28, 2025 2:08 am

Re: Tease Ai scripting: The HELP CORNER

Post by geroni »

Hi Markus,

Thanks for the help!
I'm currently running miss blue and have messed around a little bit with the scripting, would there be any functionality loss when switching over to awakening?
Also is there a easy way to keep the tagging when switching over? :-/

Thanks in advance :lol:
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease Ai scripting: The HELP CORNER

Post by markus »

geroni wrote: Wed Jul 30, 2025 6:29 pm would there be any functionality loss when switching over to awakening?
No. 8-)
Also is there a easy way to keep the tagging when switching over? :-/
To migrate, just copy your now-installation somewhere.
Into that copy, install Awakening into it, you are on the right track when the TAI Awakening.exe is in the same folder as Tease AI.exe.

That should be everything, of course you will have to go through the settings, those have to be set manually and not get used from the older install.

Good luck and greetz,
Markus
geroni
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Jun 28, 2025 2:08 am

Re: Tease Ai scripting: The HELP CORNER

Post by geroni »

Hi markus,

This might sound silly, but if u get a codec pack to let wmp play webm files could you get tai/awakening to recognise webm files as a valid picture type (I know webm isn't really a picture format)
I looked through tai's source code and maybe changing ImageSourceType could accomodate this? I'm super unfamiliar so just a suggestion/question
I'm sure you know this but all the "gifs" online are just webm :-/ and its super inefficent to convert them. And the webm files look so much better. But if it can't be helped no worries!

Thanks again!
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease Ai scripting: The HELP CORNER

Post by markus »

I totally can understand when people looking for creative work-arounds, basically I like that.
On the other hand and from the point of view of a developer there are very good reasons to not mismatch images and videos.

Awakening comes with it's own vlc.lib, you could call it the video-engine, it should play basically anything you throw at it, probably also webm (not files with the extension *.webm, just rename to *.mp4 or whatever), still videos are treated as such.
Webm and webp support (even like you mean it -> webm in those places where now gif's are used) are far, faaaaaaaaaar down on the to-do-list, IF I ever go for it.
Maybe (hopefully) webm and webp will die soon anyway.

For now, convert to gif is the only option, sorry.
I looked through tai's source code and maybe changing ImageSourceType could accomodate this?
Nope. Images are displayed in a Picture-Box control, and these cannot play videos.

Greetz,
Markus
geroni
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Jun 28, 2025 2:08 am

Re: Tease Ai scripting: The HELP CORNER

Post by geroni »

I see, thanks for your help markus!
Post Reply