Page 13 of 31

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Jun 21, 2016 4:44 pm
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 :)

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Jun 22, 2016 12:13 am
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...

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Jun 22, 2016 10:20 am
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 :)

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Jun 22, 2016 10:59 am
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 :-)

Re: Tease Ai scripting: The HELP CORNER

Posted: Sat Jun 25, 2016 6:25 pm
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

Re: Tease Ai scripting: The HELP CORNER

Posted: Fri Jul 01, 2016 11:57 am
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.

Re: Tease Ai scripting: The HELP CORNER

Posted: Sun Jul 24, 2016 10:01 am
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.

Re: Tease Ai scripting: The HELP CORNER

Posted: Sat Jul 30, 2016 9:05 am
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.

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Aug 03, 2016 3:01 am
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.

Re: Tease Ai scripting: The HELP CORNER

Posted: Wed Aug 03, 2016 6:48 am
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. :-/

Re: Tease Ai scripting: The HELP CORNER

Posted: Thu Aug 04, 2016 2:25 am
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]

Re: Tease Ai scripting: The HELP CORNER

Posted: Thu Aug 04, 2016 12:15 pm
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. :)

Re: Tease Ai scripting: The HELP CORNER

Posted: Fri Aug 05, 2016 1:05 am
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.

Re: Tease Ai scripting: The HELP CORNER

Posted: Sat Aug 06, 2016 2:34 am
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:

Re: Tease Ai scripting: The HELP CORNER

Posted: Tue Sep 20, 2016 4:35 pm
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!