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
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 »

DiDi wrote: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!
What you posted should work.
Assuming you at some point have @SetVar[] or @InputVar[]
Also notice that Teasi-AI cant deal with decimals.
So lets pretend [rounds] = [9]. That would make
9/20 = 0,45 which Tease-AI will rounds to nearest number, that being 0.
Try post a bigger part of your script in case this doesn't help

Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
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 »

genome231 wrote:
DiDi wrote: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!
What you posted should work.
Assuming you at some point have @SetVar[] or @InputVar[]
Also notice that Teasi-AI cant deal with decimals.
So lets pretend [rounds] = [9]. That would make
9/20 = 0,45 which Tease-AI will rounds to nearest number, that being 0.
Try post a bigger part of your script in case this doesn't help

Regards
Genome

yeah, I am almost sure if you put a value in a @InputVar[] question, will works like a "normal" variable.
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 »

Question regarding variables :)

Basic question: Is this possible? xD
@If[Var1]*[10]<=[50]Then(NAME)

Is it possible to include factors when doing @If statements?
And is it possible to do it multiple times like this
@If[Var1]*[10]==[Var2]*[2]Or[Var]==[0]Then(NAME)

Edit:
Question 2
Lets say I pose a question in Tease-AI
Question 1
[feet]
[feet,cane]
[feet,cane,condom]
@DifferentAnswer ??

Lets say you respond with
"I want you to cane my feet"
Will Tease-AI choose the answer closest to, that being answer option 2 since 2 words from the sentence are found inside.
Or will Tease-AI choose option 1 since feet were included in the answer and the first available line?

So the question is, does Tease-AI look all the answers through and picks the one with most correct words or does Tease-AI pick the first answer available?

Hope this makes sense xD

Best Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
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 »

avatarbr wrote:
genome231 wrote:
DiDi wrote: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!
What you posted should work.
Assuming you at some point have @SetVar[] or @InputVar[]
Also notice that Teasi-AI cant deal with decimals.
So lets pretend [rounds] = [9]. That would make
9/20 = 0,45 which Tease-AI will rounds to nearest number, that being 0.
Try post a bigger part of your script in case this doesn't help

Regards
Genome

yeah, I am almost sure if you put a value in a @InputVar[] question, will works like a "normal" variable.
Yeah, I'm sorry. That stuff didn't work because of my stupid setup before the calculations. I managed to change one Variable from a number to a string beforehand and of course thats not gonna work well....
Thanks for your help nontheless.
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 »

genome231 wrote:Question regarding variables :)

Basic question: Is this possible? xD
@If[Var1]*[10]<=[50]Then(NAME)

Is it possible to include factors when doing @If statements?
And is it possible to do it multiple times like this
@If[Var1]*[10]==[Var2]*[2]Or[Var]==[0]Then(NAME)

Edit:
Question 2
Lets say I pose a question in Tease-AI
Question 1
[feet]
[feet,cane]
[feet,cane,condom]
@DifferentAnswer ??

Lets say you respond with
"I want you to cane my feet"
Will Tease-AI choose the answer closest to, that being answer option 2 since 2 words from the sentence are found inside.
Or will Tease-AI choose option 1 since feet were included in the answer and the first available line?

So the question is, does Tease-AI look all the answers through and picks the one with most correct words or does Tease-AI pick the first answer available?

Hope this makes sense xD

Best Regards
Genome
Had the time to check these myself.
None of them work sadly..

Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
zMog
Explorer
Explorer
Posts: 20
Joined: Fri Nov 20, 2015 8:33 am

Re: Tease Ai scripting: The HELP CORNER

Post by zMog »

Hey there!

I've been wondering, in the Stroketaunt files, there are some sentences which start with @TagNaked or @TagSmile. Can these be used in the normal teases?
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 »

zMog wrote:Hey there!

I've been wondering, in the Stroketaunt files, there are some sentences which start with @TagNaked or @TagSmile. Can these be used in the normal teases?
I am not in my PC with Tease AI, but there is a way to do that (its not like in the taunts file). I think is @DommeTag(smile) or something like that.

Later I can confirm this.
CXZman
Explorer At Heart
Explorer At Heart
Posts: 114
Joined: Sun Sep 13, 2015 11:30 pm

Re: Tease Ai scripting: The HELP CORNER

Post by CXZman »

Hi there ! I'm considering writing scripts myself. The designing by itself seems fun enough, don't know if I'll ever end up with something I can share in here.

Anyway, I've seen somewhere on the forum somebody post a colored syntaxing data file to help better script in softwares like notepad++ and such. Can't seem to find it. I'm sure those of you who grandmasters of teasing use it, so I thought I could ask around if anybody still has it and could give it to me, please :)
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 »

CXZman wrote:Hi there ! I'm considering writing scripts myself. The designing by itself seems fun enough, don't know if I'll ever end up with something I can share in here.

Anyway, I've seen somewhere on the forum somebody post a colored syntaxing data file to help better script in softwares like notepad++ and such. Can't seem to find it. I'm sure those of you who grandmasters of teasing use it, so I thought I could ask around if anybody still has it and could give it to me, please :)
Notepad++ it's what I use. I just notice I did not created any language for TeaseAI scripts (to get colored code).


EDIT: Funny, looking for some things in my computer, I found what you wanted: Personality Creator: viewtopic.php?f=2&t=16310&hilit=personality+creator
CXZman
Explorer At Heart
Explorer At Heart
Posts: 114
Joined: Sun Sep 13, 2015 11:30 pm

Re: Tease Ai scripting: The HELP CORNER

Post by CXZman »

Know what, hell with it. I braced myself and did it.
TeaseAI_Script_syntax.zip
Syntax coloring for TeaseAI script in Notepad++
(2.29 KiB) Downloaded 121 times
Still not perfect, a bunch of commands not included, but I hoped that the way I did it, it also serves as a first pass syntax checker.
CXZman
Explorer At Heart
Explorer At Heart
Posts: 114
Joined: Sun Sep 13, 2015 11:30 pm

Re: Tease Ai scripting: The HELP CORNER

Post by CXZman »

avatarbr wrote:
CXZman wrote:EDIT: Funny, looking for some things in my computer, I found what you wanted: Personality Creator: viewtopic.php?f=2&t=16310&hilit=personality+creator
Aw shit, I forgot it was an additional software. Looks like it's development is stalled.
Ok I'll stick with NP++ and my handy custom language. Thanks for looking :)
Windeye
Curious Newbie
Curious Newbie
Posts: 3
Joined: Sat Sep 26, 2015 2:47 am
Gender: Male
Sexual Orientation: Straight

Re: Tease Ai scripting: The HELP CORNER

Post by Windeye »

I think this is what you were thinking of:

viewtopic.php?f=2&t=15783&p=197893&hili ... ge#p197893
sexybastardo
Explorer
Explorer
Posts: 45
Joined: Thu Nov 26, 2015 9:10 pm
Gender: Male
I am a: None of the above
Location: Germany

Re: Tease Ai scripting: The HELP CORNER

Post by sexybastardo »

CXZman wrote:Know what, hell with it. I braced myself and did it.
TeaseAI_Script_syntax.zip

Still not perfect, a bunch of commands not included, but I hoped that the way I did it, it also serves as a first pass syntax checker.
Hey guys,
I used this and I updated it a little bit. Most commands are now in it.
Hope it helps. ;)

@CXZman Thank you for this. :)

Cheers,
sb
Attachments
TeaseAI-Syntax.zip
(2.55 KiB) Downloaded 87 times
closetwanker
Explorer
Explorer
Posts: 75
Joined: Tue Dec 10, 2013 6:00 pm
Sexual Orientation: Straight
I am a: Submissive
Dom/me(s): Not Collared
Location: USA East Coast

Re: Tease Ai scripting: The HELP CORNER

Post by closetwanker »

Been loving AI for a long time now.

Going to try, once again, to write some stuff to help out.

Here's a simple start script that is already failing me. I followed the instructions in Overview 1

Can anyone tell me why this isn't working right?

The Domme types both replies to the yes and no.
Spoiler: show
Well, well, well....
...look what's come crawling in.
I suppose you're hoping to jerk that pathetic cock of yours?
{yes} You know you can't even touch it without my permission slave.
{no} Then you must be looking for me to hurt you. You're such a pain slut!
I think this would be a good time to start slut.
Begin stroking. @StartStroking
@End
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 »

closetwanker wrote: Thu Mar 02, 2017 4:38 pm Been loving AI for a long time now.

Going to try, once again, to write some stuff to help out.

Here's a simple start script that is already failing me. I followed the instructions in Overview 1

Can anyone tell me why this isn't working right?

The Domme types both replies to the yes and no.
Spoiler: show
Well, well, well....
...look what's come crawling in.
I suppose you're hoping to jerk that pathetic cock of yours?
{yes} You know you can't even touch it without my permission slave.
{no} Then you must be looking for me to hurt you. You're such a pain slut!
I think this would be a good time to start slut.
Begin stroking. @StartStroking
@End
:wave:

Your paranthese's aren't the right ones:
Fixed version:
...look what's come crawling in.
I suppose you're hoping to jerk that pathetic cock of yours?
[yes]You know you can't even touch it without my permission slave. <-- Fixed here
[no] Then you must be looking for me to hurt you. You're such a pain slut! <-- Fixed here
@DifferentAnswer Yes or no? <-- Added a line here, this will trigger if the sub replies with something other than yes or no.
I think this would be a good time to start slut.
Begin stroking. @StartStroking
@End

Keep at it!

Best regards
Genome

EDIT: My best advice is to read other peoples scripts :)
See what they do, compare it to your own to see if you can see where the problem is.
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
Post Reply