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

PtheV
Explorer At Heart
Explorer At Heart
Posts: 202
Joined: Sat May 30, 2015 10:18 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by PtheV »

Mistress Jenifer wrote: How would I go about setting up a... "Slave outfit" kind of thing?
Another way of doing it would be to use a series of miniscripts, one for each item in the outfit. For example: @MiniScript(WearCollar), which would call the following script:
Spoiler: show
@Nullresponse @CheckFlag(Wearing_Collar)
@Nullresponse @Chance50(wear collar)
I don't think we'll be needing the collar this time
@End
(wear collar)
Put on your collar
Ready?
[yes,ready] Good
[no] Then hurry up @LoopAnswer
@DifferentAnswer Ready?
You are now wearing a collar @TempFlag(Wearing_Collar)
@End
(Wearing_Collar)
You are already wearing a collar, let's keep it that way
@End
Whenever you want to create the possibility of using a collar in any script, you simply add the following in the appropriate place:
@Nullresponse @MiniScript(WearCollar)

The Tempflag is to keep track of what your sub is wearing, like Schefflera said. You can modify @ChanceXX() to use a different percentage.
pv
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Tease Ai scripting: The HELP CORNER

Post by Mistress Jenifer »

Both of those are good workable solutions...
Where would the miniscripts be stored in the personality if I went that route?

Sadly though both are only kind of... Half what I am looking for.
I'll level with ya'll, this specific idea is way more a personal thing. Not sure what to call the fetish, but I defiantly do enjoy on those rare-ish moments when I switch to be told what to wear. Odd and all that but, well hey not the oddest thing I've seen here :P
What I was honestly hoping for was a way to have the script run and basically spit out a bunch of results after only asking once like so;
"Would you like to get dressed for me?" (yes would run the following, no would skip it and move on)
[Insert code here to randomly pick stuff]
{Display results of Code randomness here}
"(Progress with session)"


Now I did toy with the idea of using the Daily Tasks, that command will create a file randomly from a bunch of lines. But that then creates the problem of separating it from the actual tasks that would occur at the end of the session. Since it seems like it looks for specific file names associated with time relative to a wake up time set. Which means its not like I can modify the command to look into different text files with ease. I can however modify the tasks chosen by effecting the domme's lvl and apathy. Which would allow for ending tasks and dressing tasks to exist.
Slightly closer to what I am looking for, but still not exact (as I can just leave the dommelvl/apathy changed and have modules effected by that).

Anyone else have ideas? The brainstorming from this thread is helping me a bit ^.^
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1185
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by avatarbr »

Mistress Jenifer wrote: Okay, an idea has crossed my mind!
@CustomTask() command, will randomly pick something from a pre-made file of options. In testing though its pulling several from the same file. Is the a way to set it to only pick from the FileName once? Considering its already pulling from the FIleName_First file, and in testing its going to pick a random amount of times from the file in question. So I want it to runlike this;
Runs @CustomTask(Collar) , which looks into Collar_First.txt which has say... a type of collar (posture, collar, collar w/ attached cuffs, etc)
It then immediately looks into Collar.txt, which I could make a 2 line file saying "Yes that seems good put on that collar" or "On second thought, I don't want a collar on you".
Runs a second @CustomTask(BodyHarness) which basically will be a rinse/repeat of the collar one above.

My testing shows that it can pick multiple times from the Collar.txt file, which I wouldn't want it to do. Even with a second line that has a @CustomTask(Something). I'd want it to say "yes" or "no", and then immediately move into the next item (sake of example if it helps, a body harness)


I still do like the idea of variables determining it behind the scenes if that is possible. As then I can just display them all in 1 line and have her wait for the sub to respond that they are dressed. Anyway that might be able to do it behind the scenes and then just tell the sub the result, would be my ideal way of doing this.

~Jen
What you need is flags, not variables.

You can create a task file like that:

Code: Select all

@NotFlag(CollarDONE) Put a collar @SetFlag(CollarDONE)
@NotFlag(HatDONE) Put a hat @SetFlag(HatDONE)
@NotFlag(OtherDONE) Put other @SetFlag(OtherDONE)
You can use @TempFlag instead of @SetFlag to work in the session only.
But, if you want to use this just once in a session, a simple @Goto(task1, task2, task3) will randomly choose 1 task for you.

Oh, MiniScripts need to be in "Personality\Custom\MiniScripts" folder.
"Would you like to get dressed for me?" (yes would run the following, no would skip it and move on)
[Insert code here to randomly pick stuff]
{Display results of Code randomness here}
"(Progress with session)"
Can you write a example of this (with the choices)? I think can be simple with @RT, @Goto and/or @Chance commands.

variables can be picked by user responses if you need, like that

Who is your favourite Pornstar? @InputVar[FavPornStar]
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Tease Ai scripting: The HELP CORNER

Post by Mistress Jenifer »

Alright so here's the base idea of the script;

Code: Select all

#PetName...
I think its time I dress you up...
So let me think what to put you in this time...
@NullResponse @SetVar[First]=[collar, no collar]
@NullResponse @SetVar[Second]=[Cuffs, no Cuffs]
@NullResponse @SetVar[Third]=[Body harness, no body harness]
@NullResponse @SetVar[Fourth]=[Gag, no Gag]
Alright #PetName I've decided on the following
@ShowVar[First], @ShowVar[Second], @ShowVar[Third], @ShowVar[Fourth]
So go ahead and get dressed and tell me when your finished
[finished, dressed, back, done, complete] Alright my dear #PetName, its time for some fun @Goto(Something)
@DifferentAnswer Just tell me when your finished
Obviously I tried the @SetVar this way and it didn't work the way I was hoping.
The end result is a line of attire, bondage gear, etc that is completely random. Much like the Daily Tasks are. You shouldn't ever know what they are till you finally open the document. Nothing in that document should be foreseen, because it picks from a list randomly. And I kind of want the same thing for this, the sub doesn't know what they are about to put on. But they only know they are about to be dressed into things by their domme.

Hope that helps in clarifying.
~Jen
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
schefflera
Explorer At Heart
Explorer At Heart
Posts: 126
Joined: Wed Jun 03, 2015 10:21 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): no :(
Sub/Slave(s): nope

Re: Tease Ai scripting: The HELP CORNER

Post by schefflera »

Mistress Jenifer wrote:Alright so here's the base idea of the script;

Code: Select all

#PetName...
I think its time I dress you up...
So let me think what to put you in this time...
@NullResponse @SetVar[First]=[collar, no collar]
@NullResponse @SetVar[Second]=[Cuffs, no Cuffs]
@NullResponse @SetVar[Third]=[Body harness, no body harness]
@NullResponse @SetVar[Fourth]=[Gag, no Gag]
Alright #PetName I've decided on the following
@ShowVar[First], @ShowVar[Second], @ShowVar[Third], @ShowVar[Fourth]
So go ahead and get dressed and tell me when your finished
[finished, dressed, back, done, complete] Alright my dear #PetName, its time for some fun @Goto(Something)
@DifferentAnswer Just tell me when your finished
Obviously I tried the @SetVar this way and it didn't work the way I was hoping.
The end result is a line of attire, bondage gear, etc that is completely random. Much like the Daily Tasks are. You shouldn't ever know what they are till you finally open the document. Nothing in that document should be foreseen, because it picks from a list randomly. And I kind of want the same thing for this, the sub doesn't know what they are about to put on. But they only know they are about to be dressed into things by their domme.

Hope that helps in clarifying.
~Jen
Hi,

I don't think the @SetVar chooses from one in brakets. it just takes all.
You could use @ChanceXX() to set the possibilities, like this:

Code: Select all

#PetName...
I think its time I dress you up...
So let me think what to put you in this time... @RapidCodeOn
(First)
@NullResponse @ChanceXX(NoCollar)
@NullResponse @SetVar[First]=[collar] @Goto(Second)
(NoCollar)
@NullResponse @SetVar[First]=[no collar]
(Second)
@NullResponse @ChanceXX(NoCuffs)
@NullResponse @SetVar[Second]=[Cuffs] @Goto(Third)
(NoCuffs)
@NullResponse @SetVar[Second]=[no Cuffs]
(Third)
@NullResponse @ChanceXX(NoHarness)
@NullResponse @SetVar[Third]=[Body harness] @Goto(Fourth)
(NoHarness)
@NullResponse @SetVar[Third]=[no body harness]
(Fourth)
@NullResponse @ChanceXX(NoGag)
@NullResponse @SetVar[Fourth]=[Gag] @Goto(Decided)
(NoGag)
@NullResponse @SetVar[Fourth]=[no Gag]
(Decided)
@NullResponse @RapidCodeOff
Alright #PetName I've decided on the following
@ShowVar[First], @ShowVar[Second], @ShowVar[Third], @ShowVar[Fourth]
So go ahead and get dressed and tell me when you're finished
[finished, dressed, back, done, complete] Alright my dear #PetName, it's time for some fun @Goto(Something)
@DifferentAnswer Just tell me when you're finished
With the @ChanceXX() you can choose the percentage of not wearing a 'outfit'. For example:
@Chance30(NoCuffs)
Goes to (NoCuffs) with a 30% chance
I also added a @RapidCodeOn @RapidCodeOff to reduce the 'decicion time'

And with @TempFlag you can also 'remember' what your pet is wearing. Like this:

...
So let me think what to put you in this time...
(First)
@NullResponse @ChanceXX(NoCollar)
@NullResponse @SetVar[First]=[collar] @TempFlag(WearsCollar) @Goto(Second)
(NoCollar)
@NullResponse @SetVar[First]=[no collar] @TempFlag(WearsNoCollar)
...

Hope this helps a bit



Btw. Have a small question, too :)

Does the @MiniScript() also work in taunt's?
I tried it and it doesn't seem so. Maybe I'm doing something wrong. Took me a lot of time until I found out how it acutally works and that I need a Folder named 'MiniScripts' at all...

so long
Last edited by schefflera on Tue Jun 21, 2016 9:01 am, edited 1 time in total.
My flashteases: Have fun :)
PtheV
Explorer At Heart
Explorer At Heart
Posts: 202
Joined: Sat May 30, 2015 10:18 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by PtheV »

schefflera wrote: Does the @MiniScript() also work in taunt's?
Yes. Or at least, it did for me when I tried it a while back...

Taunt @MiniScript(MS) --- would call \Custom\Miniscripts\MS.txt
pv
User avatar
genome231
Explorer At Heart
Explorer At Heart
Posts: 683
Joined: Wed Nov 12, 2014 8:35 am

Re: Tease Ai scripting: The HELP CORNER

Post by genome231 »

PtheV wrote:
schefflera wrote: Does the @MiniScript() also work in taunt's?
Yes. Or at least, it did for me when I tried it a while back...

Taunt @MiniScript(MS) --- would call \Custom\Miniscripts\MS.txt
I've had a different experience.
Currently I prefer CallReturn for taunts, the flow seems better.
Also, (probably a bug) the metronome stops when running the miniscript, but it doesn't return upon ending and returning to taunts.
Let me know what you find out yourself :)

Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Tease Ai scripting: The HELP CORNER

Post by Mistress Jenifer »

@schefflera
Is there no way to compact that?

Gag alone could be set for;
Ring gag, Ball Gag, Penis Gag, Inflatable Gag, Panel Gag

And then as I realized the depth of my insanity while tinkering with this, I've only ever used the bondage gear side of things as an example. Stepping away from bondage gear and going to just actual clothing... Holy fuck, the code set would be huge if using the @Chance command like that.
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
schefflera
Explorer At Heart
Explorer At Heart
Posts: 126
Joined: Wed Jun 03, 2015 10:21 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): no :(
Sub/Slave(s): nope

Re: Tease Ai scripting: The HELP CORNER

Post by schefflera »

Mistress Jenifer wrote:@schefflera
Is there no way to compact that?

Gag alone could be set for;
Ring gag, Ball Gag, Penis Gag, Inflatable Gag, Panel Gag

And then as I realized the depth of my insanity while tinkering with this, I've only ever used the bondage gear side of things as an example. Stepping away from bondage gear and going to just actual clothing... Holy fuck, the code set would be huge if using the @Chance command like that.
Uh, it's getting complicated :-D

You could also create your own Keyword. For example #MJgag.
The code would look like that:

...
So let me think what to put you in this time... @RapidCodeOn
(First)
@NullResponse @ChanceXX(NoGag)
@NullResponse @SetVar[First]=[#MJgag] @Goto(Second)
(NoGag)
@NullResponse @SetVar[First]=[no gag]
(Second)
...

Now you need a file named #MJgag.txt in the vocabulary. there you can list all kinds of gags you want. To be sure your pet has one, you can ask him before and flag the gags in the #MJgag.txt like this:
@Flag(HasRingGag) Ring gag
@Flag(HasBallGag) Ball Gag
@Flag(HasPenisGag) Penis Gag
@Flag(HasInflatableGag) Inflatable Gag
@Flag(HasPanelGag) Panel Gag
...

Haven't tried it, but I don't see any problem why it shouldn't work :)
My flashteases: Have fun :)
PtheV
Explorer At Heart
Explorer At Heart
Posts: 202
Joined: Sat May 30, 2015 10:18 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by PtheV »

genome231 wrote:
PtheV wrote:
schefflera wrote: Does the @MiniScript() also work in taunt's?
Yes. Or at least, it did for me when I tried it a while back...

Taunt @MiniScript(MS) --- would call \Custom\Miniscripts\MS.txt
I've had a different experience.
Currently I prefer CallReturn for taunts, the flow seems better.
Also, (probably a bug) the metronome stops when running the miniscript, but it doesn't return upon ending and returning to taunts.
Let me know what you find out yourself :)

Regards
Genome
That's odd. Since I never use the metronome myself, I ran a quick test just now. @MiniScript() worked fine when called from a taunt, the metronome continued as normal, no bugs.
pv
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Tease Ai scripting: The HELP CORNER

Post by Mistress Jenifer »

@schefflera
That... Did not work...

Code: Select all

#StopStroking @StopStroking
#PetName...
Its time to test something @SetVar[First]=[#MJgag]
And test this @SetVar[Second]=[#MJgag]
It worked to @ShowVar[First] and @ShowVar[Second]
Further Testing shows @ShowVar[First] and @ShowVar[Second]
@End
This is the block I've been testing in^

This is the text came out to be this;

Code: Select all

08:06 PM Mistress: Stroker...
08:06 PM Mistress: Its time to test something 
08:06 PM Mistress: And test this 
08:06 PM Mistress: ERROR: Tease AI did not return a valid line while parsing Command Filters
08:06 PM Mistress: ERROR: Tease AI did not return a valid line while parsing Command Filters
I put the second line in, just to test to see if it would set the #MJGag once and leave it, or reset and call it again each time @ShowVar was used. Oddly enough, it didn't do that. It spit out directly that there was an error. Keep in mind these lines were working previously as I had them returning values from a previous test of this attempt...
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
schefflera
Explorer At Heart
Explorer At Heart
Posts: 126
Joined: Wed Jun 03, 2015 10:21 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): no :(
Sub/Slave(s): nope

Re: Tease Ai scripting: The HELP CORNER

Post by schefflera »

Mistress Jenifer wrote:@schefflera
That... Did not work...

Code: Select all

#StopStroking @StopStroking
#PetName...
Its time to test something @SetVar[First]=[#MJgag]
And test this @SetVar[Second]=[#MJgag]
It worked to @ShowVar[First] and @ShowVar[Second]
Further Testing shows @ShowVar[First] and @ShowVar[Second]
@End
This is the block I've been testing in^

This is the text came out to be this;

Code: Select all

08:06 PM Mistress: Stroker...
08:06 PM Mistress: Its time to test something 
08:06 PM Mistress: And test this 
08:06 PM Mistress: ERROR: Tease AI did not return a valid line while parsing Command Filters
08:06 PM Mistress: ERROR: Tease AI did not return a valid line while parsing Command Filters
I put the second line in, just to test to see if it would set the #MJGag once and leave it, or reset and call it again each time @ShowVar was used. Oddly enough, it didn't do that. It spit out directly that there was an error. Keep in mind these lines were working previously as I had them returning values from a previous test of this attempt...
That's strange.. I've tested it now and did not get an error..
But I do got the other problem you've been thinking at. This is what I got out by "inputting" your first code above:

11:53 Ashley: Tease AI has been reset
11:55 Christian: Hello
11:55 Ashley: You can Dtop
11:55 Ashley: *stop
11:55 Ashley: Pet...
11:55 Ashley: Its time to test something
11:55 Ashley: And test this
11:56 Ashley: It worked to penis gag and penis gag
11:56 Ashley: Further Testing shows panel gag and panel gag

The @SetVar[]=[#..] seems to be working, but it gave me two different gags

I'll keep trying :)
My flashteases: Have fun :)
User avatar
schefflera
Explorer At Heart
Explorer At Heart
Posts: 126
Joined: Wed Jun 03, 2015 10:21 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): no :(
Sub/Slave(s): nope

Re: Tease Ai scripting: The HELP CORNER

Post by schefflera »

Good news :-)

I found a solution. It's very simple and hopefully what you are looking for. First the code:

Code: Select all

setting flag... @TempFlag(#Random(1,5))
Some tests: your gag: #MJgag
again: #MJgag
and again: #MJgag
ok: #MJgag
nice: #MJgag
@End
The @TempFlag(#Random(1,5)) sets a specific number between 1 and 5. these are your "gags" (if you have more, just increase the range).
Now you need to enhance your keyword #MJgag in the vocabulary. It should look like that:

Code: Select all

@Flag(1) ball gag
@Flag(2) penis gag
@Flag(3) ring gag
@Flag(4) panel gag
@Flag(5) random gag
For other "dresses" you should take another random range. For example from 10-15 or 20-25, or...
In that case a first line could look like this:
@NullResponse @TempFlag(#Random(1,5)) @TempFlag(#Random(10,15)) @TempFlag(#Random(20,25) ...

And the different "dresses" all need a #keyword.txt in the vocabulary like the #MJgag.txt


Hope you like it :-)
My flashteases: Have fun :)
User avatar
Mistress Jenifer
Mistress of the Heel
Mistress of the Heel
Posts: 492
Joined: Fri Apr 02, 2010 11:49 pm
Gender: Female
Sexual Orientation: Bisexual/Bi-Curious
I am a: Mistress
Sub/Slave(s): dream_on

Re: Tease Ai scripting: The HELP CORNER

Post by Mistress Jenifer »

@schefflera;
Didn't quite work;

Code: Select all

02:22 PM Mistress: Stroker...
02:22 PM Mistress: Setting flag... 
02:22 PM MIstress: Some tests: your gag: random gag
02:22 PM Mistress: Again: random gag
02:22 PM Mistress: And again: random gag
02:22 PM Mistress: Ok: random gag
02:22 PM Mistress: Nice: random gag
I basically C&P'd your code.
I don't know if it set a flag for that number that was picked to determine a random gag... Honestly, I'm not sure what happened O.o
Image
Image
*Credit to LDM for the banners, love his work thought I'd promote it. Clicking on them will bring you to his deviant art account.*
User avatar
VanHellsing
Explorer At Heart
Explorer At Heart
Posts: 150
Joined: Mon Apr 12, 2010 10:07 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by VanHellsing »

Is there a way to set the metronome on a certain speed while stroking?
I'm a real beginner in this and @StartStroking gives me random speed. I need something like @StartStroking with X beats per minute.
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests