Page 14 of 31
Re: Tease Ai scripting: The HELP CORNER
Posted: Tue Sep 20, 2016 6:27 pm
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Wed Sep 21, 2016 2:18 am
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.
Re: Tease Ai scripting: The HELP CORNER
Posted: Fri Sep 23, 2016 9:38 am
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Sun Sep 25, 2016 1:29 pm
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.
Re: Tease Ai scripting: The HELP CORNER
Posted: Mon Sep 26, 2016 2:36 pm
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Wed Nov 02, 2016 2:19 pm
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?
Re: Tease Ai scripting: The HELP CORNER
Posted: Wed Nov 02, 2016 6:23 pm
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.
Re: Tease Ai scripting: The HELP CORNER
Posted: Wed Nov 23, 2016 11:10 pm
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 :)
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Nov 24, 2016 12:43 am
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Nov 24, 2016 2:12 am
by CXZman
Know what, hell with it. I braced myself and did it.
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.
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Nov 24, 2016 7:16 pm
by CXZman
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 :)
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Nov 24, 2016 9:45 pm
by Windeye
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Jan 05, 2017 12:51 pm
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Mar 02, 2017 4:38 pm
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
Re: Tease Ai scripting: The HELP CORNER
Posted: Thu Mar 02, 2017 4:47 pm
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
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.