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
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 :)
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.
milo7
Explorer
Explorer
Posts: 12
Joined: Sat Mar 19, 2016 9:27 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease Ai scripting: The HELP CORNER

Post by milo7 »

DiDi wrote:Ok,
after loosing all my hair over this I finally got it to work. ...

Thanks for your input everyone, you helped me wrap my head around this!
If there are more questions about it, please ask. I am happy to share this knowledge ;)
What version of TeaseAI did this work for you on. It still won't work for me.
DiDi
Explorer
Explorer
Posts: 19
Joined: Thu Oct 08, 2015 3:45 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by DiDi »

milo7 wrote:
DiDi wrote:Ok,
after loosing all my hair over this I finally got it to work. ...

Thanks for your input everyone, you helped me wrap my head around this!
If there are more questions about it, please ask. I am happy to share this knowledge ;)
What version of TeaseAI did this work for you on. It still won't work for me.
Hi, Im currently using Version 54.4. But I haven't tested if it still works recently as I've been occupied with RL and wasnt able to
work on my script.
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 »

VanHellsing wrote: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.
You can set max and min in the settings, but I dont think you can choose a specific speed. You can use @Strokeslower and @Strokerfaster to change the pace (not sure how much this change the speed), but the @StrokeFastest/@StrokeSlowest put in the max/min of the range.
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 »

avatarbr wrote:You can set max and min in the settings, but I dont think you can choose a specific speed. You can use @Strokeslower and @Strokerfaster to change the pace (not sure how much this change the speed), but the @StrokeFastest/@StrokeSlowest put in the max/min of the range.
Yea, I had to use those commands, but using @Stroke with a specific number would be much easier. :-/
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 »

VanHellsing wrote:
avatarbr wrote:You can set max and min in the settings, but I dont think you can choose a specific speed. You can use @Strokeslower and @Strokerfaster to change the pace (not sure how much this change the speed), but the @StrokeFastest/@StrokeSlowest put in the max/min of the range.
Yea, I had to use those commands, but using @Stroke with a specific number would be much easier. :-/
Well, there are a workaround, but require some work. You can use audio files instead.

Just disable the metronome and put a @PlayAudio() in the @StartStroking line of every Link.txt file (Probably will work if you edit the #StartStroking vocabulary file).

Make sure these audios have at least the same duration of your Stroke part.

If you want to change the speed, you can make the same thing in the Taunt files.
All audio files stop when another one its called. Just remember to put a stop audio when you need to stop (I made this last part in the vocabulary file #StopStroking). Like this:

Code: Select all

Stop stroking  @PlayAudio[tease\cStop.mp3]
Hands off @PlayAudio[tease\cStop.mp3]
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 »

avatarbr wrote:Well, there are a workaround, but require some work. You can use audio files instead.

Just disable the metronome and put a @PlayAudio() in the @StartStroking line of every Link.txt file (Probably will work if you edit the #StartStroking vocabulary file).

Make sure these audios have at least the same duration of your Stroke part.

If you want to change the speed, you can make the same thing in the Taunt files.
All audio files stop when another one its called. Just remember to put a stop audio when you need to stop (I made this last part in the vocabulary file #StopStroking). Like this:

Code: Select all

Stop stroking  @PlayAudio[tease\cStop.mp3]
Hands off @PlayAudio[tease\cStop.mp3]
Thanks, it's exactly what I've been thinking about, but it's hard to find a neutral sound, like the TEASE AI metronome has. Most of them are either too high, to too low or just odd. :)
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 »

VanHellsing wrote:
avatarbr wrote:Well, there are a workaround, but require some work. You can use audio files instead.

Just disable the metronome and put a @PlayAudio() in the @StartStroking line of every Link.txt file (Probably will work if you edit the #StartStroking vocabulary file).

Make sure these audios have at least the same duration of your Stroke part.

If you want to change the speed, you can make the same thing in the Taunt files.
All audio files stop when another one its called. Just remember to put a stop audio when you need to stop (I made this last part in the vocabulary file #StopStroking). Like this:

Code: Select all

Stop stroking  @PlayAudio[tease\cStop.mp3]
Hands off @PlayAudio[tease\cStop.mp3]
Thanks, it's exactly what I've been thinking about, but it's hard to find a neutral sound, like the TEASE AI metronome has. Most of them are either too high, to too low or just odd. :)
Check this from TeaseME teases: https://mega.nz/#!4dZVQaZJ!J8Lv3ImBa_5q ... t3uCSGGMR8

Very similar to the TeaseAI metronome.
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 »

avatarbr wrote:Check this from TeaseME teases: https://mega.nz/#!4dZVQaZJ!J8Lv3ImBa_5q ... t3uCSGGMR8

Very similar to the TeaseAI metronome.
This might work! Thanks! :w00t:
DiDi
Explorer
Explorer
Posts: 19
Joined: Thu Oct 08, 2015 3:45 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease Ai scripting: The HELP CORNER

Post by DiDi »

Hi,

its me again. I've got the following question/problem:

Is there a way to use Variables in calculations?

for example like this:
Spoiler: show
@ChangeVar[rounds]=[rounds]*[roulette_odd]
@ChangeVar[rounds]=[rounds]/[20]
The way I posted doesn't work and I cant figure out a way to do this in any other way.

Thanks again for your help!
Post Reply