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 »

Someone know if there are a option to change the ApathyLevel while running scripts? And to change the duration of the session?
Like the @DommeLevelUp command?
User avatar
Lestat
Explorer At Heart
Explorer At Heart
Posts: 225
Joined: Wed Oct 21, 2009 9:53 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Switzerland

Re: Tease Ai scripting: The HELP CORNER

Post by Lestat »

I don't know for the apathy level. For the duration of the session you can only end it I think.
Dowload and look in the commands guide posted by opiate, there's everything ;-)
Gentleman by day :oldtimer: Philosopher by night :hmmm: Pervert by choice :shutup2: Rebel by fate :punk:
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease Ai scripting: The HELP CORNER

Post by png »

avatarbr wrote:Someone know if there are a option to change the ApathyLevel while running scripts? And to change the duration of the session?
Like the @DommeLevelUp command?
Wow I completely missed that whole thread... :whistle:

So no there is no such thing, you can only change the level
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease Ai scripting: The HELP CORNER

Post by png »

mr-max wrote:Hi guys,

I would like to start contributing some modules that can easily be added to complete personas. Some questions are popping up:

1. Is it possible to have an interaction where the dom reacts depending on the speed something was done? So can you give a task and if the confirmation of completion has not been given after a certain time, say something? Maybe with @Wait(300)?

2. Is the choice of modules pure random (except for plausibility like not having something that is needed)?

More will be coming ab for sure ;)
For the 1/ as far as I know, no you can't. the @Wait stop everything in it's track so it will just resume 300 seconds later but you don't know anything else. The only thing you can do is pester the user by asking at giving interval if he is done or rely on it's honesty by asking him if he respected the timing

For the 2 yes it is purely random, the only control you have is with @BookmarkModule and @BookmarkLink that allow you to resume the current module/link in the next cycle. Even if you don't have a prerequite, if the script is activated in the settings it will be played (and probably crash when it reach what you are missing :lol: )

If you want to augment the possibility of your script to get choosen, just duplicate it but it's a pain to maintain afterward :-(
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by SexyTom »

Maybe I'm all stupid or it is because I'm totally new to programming, but I'm not finding the actually ALL FIRST start script that starts if you say "hi". I looked in
\Tease AI\scripts\personality-name\system\scripts\start.txt
and
\Tease AI\scripts\personality-name\stroke\start\
But she ignores it. Doesn't matter if I remove files or write something else in the start.txt. She doesn't say what she should say. She always use the scripts from the wicked personality. :\'-(

I read all the guides. Everything I could find. Read them like threetimes, but they only EXPLAIN the scripts, but the doesn't tell where the files really are. And which directories to use!?

Hopefully somebody can help.
best wishes, Tom.
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by SexyTom »

Okay so... "Hi" triggers the Start.txt in the "system\scripts" folder. But how does the "stroke\start" txt Scripts getting started?
What does

Code: Select all

#GreetSub
do? Are this something internal in the program? I did not find this command in the vocabulary!?

I'm confused.
best wishes, Tom.
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by SexyTom »

Even if I create a new START.TXT in the "system\scripts" folder he ignores it. Totally confused. :weep:
best wishes, Tom.
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 »

SexyTom wrote:Even if I create a new START.TXT in the "system\scripts" folder he ignores it. Totally confused. :weep:
You need to go in settings-scripts and check the file in the Start folder.
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: Tease Ai scripting: The HELP CORNER

Post by SexyTom »

avatarbr wrote:You need to go in settings-scripts and check the file in the Start folder.
Okay thanks. I give it a try. Didn't think of that. :-)
best wishes, Tom.
User avatar
Lestat
Explorer At Heart
Explorer At Heart
Posts: 225
Joined: Wed Oct 21, 2009 9:53 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Switzerland

Re: Tease Ai scripting: The HELP CORNER

Post by Lestat »

On the 1st page, the 3rd post :-) Opiate posted the system vocab and you can dowload the commands guides on the same post too :-)
Gentleman by day :oldtimer: Philosopher by night :hmmm: Pervert by choice :shutup2: Rebel by fate :punk:
luke100787
Explorer
Explorer
Posts: 16
Joined: Mon May 21, 2007 5:57 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive
Dom/me(s): still looking

Re: Tease Ai scripting: The HELP CORNER

Post by luke100787 »

hi i tried making a financial domination module where you have to pay tokens to stroke but i cant get it to work no i have no idea why
Spoiler: show
#StopStroking @StopStroking
I feel like playing a game with you piggy @If[#BronzeTokens]<[500]Then(Not Enough Tokens)
You up for it?
[yes] Awesome #EmoteHappy
[no] Oh well @Goto(No Thanks)
@DifferentAnswer Yes or no #PetName?
First things first, gotta pay to play #Grin @RapidTextOn
@NullResponse @Remove10Tokens @RapidTextOff
And now we can begin
so i bet you are dying to know what my games is
I am going to charge you tokens too stroke and i am going to drain your account dry
if at the end of my game you have enough tokens left i will let you cum if not you will be denied

until you can pay again understand?
[yes] good
so let me explain how it will work
i will offer you an ammount of stroke for a number of tokens
the price will go up as the game goes on if you run out of tokens the game ends and you will be

denied for today. ready to start
ok 10 strokes for 10 tokens what do you say piggy
yes or no
[yes] good @Remove10Tokens
[no]@Goto(no)
10
9
8
7
6
5
4
3
2
1
stop
now 15 strokes for 20 tokens yes or no?
[yes] good @Remove20Tokens
[no]@Goto(no)
now take your strokes and think about how good it feels to pay for each stroke
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
stop
time to make this more exciting 30 strokes for 50 tokens yes or no?
[yes] good @Remove50Tokens
[no]@Goto(no)
i bet your cock is so hard now knowing your Mistress is draining your account #PetName
let me know when you have finished your strokes and we can move on with the game lol
[done,finished,completed] good boy i bet those strokes felt so good knowing your Mistress is

benefitting from each stroke.
so do you want to keep going? 50 strokes for 70 tokens yes or no?@If[#BronzeTokens]<[70]Then(out

of tokens)
[yes] good piggy @Remove70Tokens
[no]@Goto(no)
let me know when your done wallet boy
[done,finished,completed] good piggy don't you just love paying me to stroke
now how much would you pay for an edge
let Mistress think about it #PetName
I think a desperate piggy like you should pay 100 for an edge @If[#BronzeTokens]<[100]Then(out of

tokens)
yes or no piggy?
[yes] good piggy @Remove100Tokens
[no]@Goto(no)
#Edge @Edge
#LetTheEdgeFade
would piggy like to edge again yes or no? @If[#BronzeTokens]<[100]Then(out of tokens)
[yes] good piggy @Remove100Tokens
[no]@Goto(no)
#Edge @Edge
#LetTheEdgeFade
now i bet you are so desperate to cum right now aren't you
would you pay 250 tokens if i let you cum @If[#BronzeTokens]<[250]Then(out of tokens)
[yes] good piggy @Remove250Tokens
[no]@Goto(no)
Get to the edge
[close, on the edge, I'm there] #SubName... @Goto(Orgasm Allow)
@DifferentAnswer Tell me when you're close #PetName
(Orgasm Allow)
Cum for me! Cum as hard as you can!
[came, finished, did] Good #Grin
[thank, gracias, merci, grateful, good, amazing, incredible] You're welcome #PetName #Grin
@AcceptAnswer Hehe just calm down now
I hope you enjoyed that orgasm #SubName
Who knows how many you're actually going to get? @Goto(EndScript)
(EndScript)
I had fun raping your wallet #GeneralTime #PetName
Come back and see me soon #EmoteHappy @EndTease
(Not Enough Tokens)
But you don't have enough tokens to play #EmoteFlustered
Better hit up that slot machine #PetName
But not right now
I have other plans in store for you #Grin
@End
(no)
ok #PetName if you dont want to pay any more put you cock away no more stroking today
@EndTease
(out of tokens)
oh poor little piggy you dont have any tokens left, put you cock away no more stroking today
make sure your wallet is fuller before you come back next time and you might get to cum
but not today bye piggy
@EndTease
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 »

luke100787 wrote:hi i tried making a financial domination module where you have to pay tokens to stroke but i cant get it to work no i have no idea why
Some things:

- there are some missing @DifferentAnswer in the code.
- Change the @RapidTextOn to the new @RapidCodeOn
- I dont know how the BronzeTokens code works, but take a look at the 1885 Risky Pick Module and check if the codes are correct.
amranroinoe
Explorer
Explorer
Posts: 11
Joined: Thu Aug 13, 2015 5:30 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by amranroinoe »

Hi there,

I'm starting to get the hang of the scripting side of things to a degree and feel ready to start making full length scripts of my own. I'm wondering if there's a way to call a specific module, link, etc during a session to avoid waiting for it to pop up on its own each time I want to check if its working correctly.

If anyone has any tips or advice, it would be greatly appreciated. Thank you!
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 »

amranroinoe wrote:Hi there,

I'm starting to get the hang of the scripting side of things to a degree and feel ready to start making full length scripts of my own. I'm wondering if there's a way to call a specific module, link, etc during a session to avoid waiting for it to pop up on its own each time I want to check if its working correctly.

If anyone has any tips or advice, it would be greatly appreciated. Thank you!
If you are using patch 47 the "Run" button in the apps window will let you run whatever script you want without starting a session. In 48 it was moved to the "Debug" menu item at the top of the window.
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 »

amranroinoe wrote:Hi there,

I'm starting to get the hang of the scripting side of things to a degree and feel ready to start making full length scripts of my own. I'm wondering if there's a way to call a specific module, link, etc during a session to avoid waiting for it to pop up on its own each time I want to check if its working correctly.

If anyone has any tips or advice, it would be greatly appreciated. Thank you!
To test purposes use the method Pepsi suggested, but if you want to use it as a tool to "direct" the tease sessions a bit then use the @Call(directory\file.txt) to call that specific file.
You have to respect the rulest of taunts---module---link---taunts---module---link---etc order: so you can call a module from a link (not sure if you can call an end from a link) and a link (or an end) from a module
So for example let's say you want to call a module named test.txt (in the \modules directory of your personality) after a testlink.
You do like this:
At the end of your testlink file, instead of ending it with @End, you end it with @Call(Modules\test.txt) @End
This will make the ai move to that exact module instead of randomly choosing one.
You can do something similar but using "categories" of module types..
For example:
Create some subdirectories in your module folder...lets say \pegging and \footfetish....put a few different modules in them and, now you can call from a link a @CallRandom(Modules\footfetish) or @CallRandom(Modules\pegging) to call a random file taken from those directories.
This way you can "direct" the course of a tease session a bit more if you want :-)

Remember that calling a module from a link will skip the taunt cycle part obviously (you cant call a module from a stroke taunt phrase though).
Obviously you can do the same to call links from modules using @Call(Stroke\Link\linkname.txt) @End instead of ending them just with @End.

TLDR:
-call modules from links using @Call(Modules\modulename.txt) @End (this will skip the taunt cycle though)
-call links from modules using @Call(Stroke\Link\linkname.txt) @End
-call interrupts at any point using @Interrupt(interruptname) (don't add .txt to the interrupt name...it has to be in the interrupt folder though)
-create subfolders for your modules/link based on specific topics and use @CallRandom(Modules\directoryname) or @CallRandom(Stroke\Link\directoryname) to call random modules/link in those directories

P.s: use the right capitalizations for files and directory for it to work correctly (and add .txt at the end of filename). And all these directories have to be inside that specific personality folder
Post Reply