Tease Ai scripting: The HELP CORNER
Moderator: 1885
- avatarbr
- Experimentor
- Posts: 1187
- Joined: Fri Aug 18, 2006 3:33 am
- Gender: Male
- Sexual Orientation: Straight
Re: Tease Ai scripting: The HELP CORNER
One thing I noticed is online images need 1 oe 2 seconds to load (not sure if my connection problem) so, fast slideshows will cause a problem. Works fine with local images.
I don't know if is possible to pre-load online images.
I don't know if is possible to pre-load online images.
-
- Explorer At Heart
- Posts: 559
- Joined: Fri Nov 06, 2015 1:16 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
-
- Explorer At Heart
- Posts: 559
- Joined: Fri Nov 06, 2015 1:16 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
But that kind of logic can't be used in teaseAI in any case....it is not a programing language...the only thing you can do with the @if command is to compare values and then goto somewhere in the script, you can't modify the value of something based on the @if result: @If[VarName]>[varName2]Then(Goto Line)
Since the value of "SomeFuckingVariable" is hardcoded by you, the if statement will be pointless since it will always be true....you can achieve the same result by setting flags instead.
Instead of doing something like:
@SetVar[SomeFuckingVariable]=[vibrator]
And then do an
@If[SomeFuckingVariable]=[vibrator]Then(goHere)
(goHere)
so your stuff if the var was set to "vibrator"
You can do the same (and much easier) with flags:
@SetFlag(SomeFuckingVariable)
And then
@Flag(SomeFuckingVariable) do your stuff if the flag is present
-
- Explorer
- Posts: 53
- Joined: Wed Nov 16, 2011 6:50 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
Hi everyone
I have a question or some kind of idea to avatar and PtheV for the updates of MissBlue and HoT
I like your personalities a lot, but i would like to implement some "options" at the start of a session and actually i have no glue, where and how i can implement such kind of things.
In fact nearly all personalities get to the stroking rhythm without asking, if the sub is alone or if he/she is already undressed.
or ask how much time you have, actually i dont have that much time always to complete a whole session
ok you can set the session time in the settings, but i think it would feel better, if domme is asking for that specially and you can reply, whether you have 10 minutes or 3 hours or no time limit .....
also I think a little start up conversation would give this whole thing some more real feelings.
for example some kind of small talk about the last session (would be great, if domme would have some kind of memory/flags of the last session ..... but actually i really dont know, how to script this kind of things
or as mentioned above to clearify, if the sub is alone at home, or for example girlfriend/wife/parents/kids are also there ?
maybe sitting in the room next to you ....
if someone is home the session should be some kind of more "carefully" (maybe you cannot undress fully or something like that)
if you are not alone, domme is asking maybe for some kind of quicky (define session time at this point) maybe ask sub, how much time he has, and then set the session time together.
or the other way round, if you are alone and have time, domme could decide to have an extra long session for example ....
maybe you have some ideas where and how to use this kind of ideas.
cheers
I have a question or some kind of idea to avatar and PtheV for the updates of MissBlue and HoT
I like your personalities a lot, but i would like to implement some "options" at the start of a session and actually i have no glue, where and how i can implement such kind of things.
In fact nearly all personalities get to the stroking rhythm without asking, if the sub is alone or if he/she is already undressed.
or ask how much time you have, actually i dont have that much time always to complete a whole session
ok you can set the session time in the settings, but i think it would feel better, if domme is asking for that specially and you can reply, whether you have 10 minutes or 3 hours or no time limit .....
also I think a little start up conversation would give this whole thing some more real feelings.
for example some kind of small talk about the last session (would be great, if domme would have some kind of memory/flags of the last session ..... but actually i really dont know, how to script this kind of things
or as mentioned above to clearify, if the sub is alone at home, or for example girlfriend/wife/parents/kids are also there ?
maybe sitting in the room next to you ....
if someone is home the session should be some kind of more "carefully" (maybe you cannot undress fully or something like that)
if you are not alone, domme is asking maybe for some kind of quicky (define session time at this point) maybe ask sub, how much time he has, and then set the session time together.
or the other way round, if you are alone and have time, domme could decide to have an extra long session for example ....
maybe you have some ideas where and how to use this kind of ideas.
cheers
- avatarbr
- Experimentor
- Posts: 1187
- Joined: Fri Aug 18, 2006 3:33 am
- Gender: Male
- Sexual Orientation: Straight
Re: Tease Ai scripting: The HELP CORNER
About the time, there are a command to increase or decrease the session range, but will add or remove time, not set a specific time. Ex: you can add 10 or 30 minutes to a session, but can't set a 30 minutes session (maybe you can remove 120 minutes to be sure to have 0 minutes, and then add 30 minutes, but I don't know if it's works like that).Harry2stroke wrote: ↑Mon Jan 08, 2018 7:49 pm Hi everyone
I have a question or some kind of idea to avatar and PtheV for the updates of MissBlue and HoT
I like your personalities a lot, but i would like to implement some "options" at the start of a session and actually i have no glue, where and how i can implement such kind of things.
In fact nearly all personalities get to the stroking rhythm without asking, if the sub is alone or if he/she is already undressed.
or ask how much time you have, actually i dont have that much time always to complete a whole session
ok you can set the session time in the settings, but i think it would feel better, if domme is asking for that specially and you can reply, whether you have 10 minutes or 3 hours or no time limit .....
also I think a little start up conversation would give this whole thing some more real feelings.
for example some kind of small talk about the last session (would be great, if domme would have some kind of memory/flags of the last session ..... but actually i really dont know, how to script this kind of things
or as mentioned above to clearify, if the sub is alone at home, or for example girlfriend/wife/parents/kids are also there ?
maybe sitting in the room next to you ....
if someone is home the session should be some kind of more "carefully" (maybe you cannot undress fully or something like that)
if you are not alone, domme is asking maybe for some kind of quicky (define session time at this point) maybe ask sub, how much time he has, and then set the session time together.
or the other way round, if you are alone and have time, domme could decide to have an extra long session for example ....
maybe you have some ideas where and how to use this kind of ideas.
cheers
The memory about the last session it's possible with flags, just need to put the flag on the [orgasm allowed/denied] parts. Just make sure to delete after using in the next session.
The other ideas can be done, but require editing every file where some conflict can happens, like finding any line where she mention you are naked, when you are not.
-
- Explorer At Heart
- Posts: 302
- Joined: Mon Jan 09, 2017 8:26 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
Is it possible to open a link in a browser for a video or can I view a Video from xhamster youporn ... in tease AI
-
- Explorer
- Posts: 53
- Joined: Wed Nov 16, 2011 6:50 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
Hey guys
Is there any command for Random Glitter ?
Something like #RandomGlitter(Contact1, Contact2, Contact3) or something similar ?
To choose the glitters randomly
Thanks
Is there any command for Random Glitter ?
Something like #RandomGlitter(Contact1, Contact2, Contact3) or something similar ?
To choose the glitters randomly
Thanks
Re: Tease Ai scripting: The HELP CORNER
As far as I see you cannot start an extern application (like the browser) and also I think once I have tested to play an URL with @PlayVideo ... didn't worked also, iirc that is.
Mayb there are other ways but why not something like:Harry2stroke wrote: ↑Thu Mar 08, 2018 8:06 pm Is there any command for Random Glitter ?
Something like #RandomGlitter(Contact1, Contact2, Contact3) or something similar ?
blabla... @Goto(c1,c2,c3)
(c1)
add contact 1 here @Goto(continue)
(c2)
add contact 2 here @Goto(continue)
(c3)
add contact 3 here @Goto(continue)
(continue)
@Contact1 further blabla
@Contact2 further blabla
@Contact3 further blabla
I didn't tested that, ... just a thought I wanted to throw into the room.
-
- Explorer
- Posts: 53
- Joined: Wed Nov 16, 2011 6:50 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
Thanks Markus
Just thought there is a command like RandomText(blablabla) also for @AddRandomGlitter(C1,C2,C3)
Thanks anyway
Just thought there is a command like RandomText(blablabla) also for @AddRandomGlitter(C1,C2,C3)
Thanks anyway
Re: Tease Ai scripting: The HELP CORNER
I'm curious about concating input....
I have a place where the user inputs a chore description periodically... I'd like some how to accumulate these descriptions in a log... it could just be string concatenation inside a variable file (it seems just like a file )
any ideas if this is possible?
I've tried CPP/python things like @SetVar[log]=[log]+[newitem]...but no dice... is there anyway to concatenate strings?
I have a place where the user inputs a chore description periodically... I'd like some how to accumulate these descriptions in a log... it could just be string concatenation inside a variable file (it seems just like a file )
any ideas if this is possible?
I've tried CPP/python things like @SetVar[log]=[log]+[newitem]...but no dice... is there anyway to concatenate strings?
Re: Tease Ai scripting: The HELP CORNER
Hi!lotar232 wrote: ↑Mon Mar 19, 2018 9:01 pm I'm curious about concating input....
I have a place where the user inputs a chore description periodically... I'd like some how to accumulate these descriptions in a log... it could just be string concatenation inside a variable file (it seems just like a file )
any ideas if this is possible?
I've tried CPP/python things like @SetVar[log]=[log]+[newitem]...but no dice... is there anyway to concatenate strings?
I didn't tested that, but I guess you'd need to use @ChangeVar instead of @SetVar:
@ChangeVar[log]=[log]+[newitem]
(You'd need to use @SetVar for first creating the variable, but once it's created you should use @ChangeVar, no guarantee that it works, but worth a try I guess)
- tigrotto
- Explorer At Heart
- Posts: 549
- Joined: Sat Jul 15, 2017 5:13 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
You can use @ChangeVar to add/subtract/multiply/divide. Check the command guide in Tease AI(Tools>Command Guide) if you want to know more.
I just tested it with Daragorn's patch 55.3 and markus' patch 55.5 and it works(see the .rar archive below if you want) so there must be something on your side.
This is the script I used for the test:
Code: Select all
#GreetSub
Setting var @SetVar[a]=[2]
a: @ShowVar[a]
Changing @ChangeVar[a]=[a]-[1]
a: @ShowVar[a]
Deleting @DeleteVar[a]
Ending script... @EndTease
@End
What were you trying to do?
- Attachments
-
- ChangeVar test.rar
- (669 Bytes) Downloaded 42 times
- tigrotto
- Explorer At Heart
- Posts: 549
- Joined: Sat Jul 15, 2017 5:13 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
You're welcome!
If you use @AcceptAnswer TeaseAI will accept your answer(whatever it may be) and will proceed with the script.envy wrote: ↑Tue Apr 17, 2018 1:40 pm I have another question if you (or anyone else) has a second:
This code amlost works, but needs a second user input before it will say "text 1". how can I fix it? Also can i loop it if the user doesnt input a number from 1 to 10 or do i need to accept whatever they put?Code: Select all
question? @InputVar[benchmarkIntensity] [1,2,3] response1 [4,5,6] response2 [7,8,9,10] response3 @AcceptAnswer tell me from 1 to 10 text 1
For example if you type 11, your domme will say tell me from 1 to 10 and then text 1.
You should have used @DifferentAnswer tell me from 1 to 10. In this case, if you type something that is not present in your choices she will say tell me from 1 to 10 and will wait until you type something else. TAI will continue doing this until you input a number from 1 to 10.
To get rid of the double input, you should use the filter @Variable. Here's what you should do:
Code: Select all
(question)
question? @InputVar[benchmarkIntensity]
@Variable[benchmarkIntensity]<[1]Or[benchmarkIntensity]>[10] I need a number from 1 to 10 @Goto(question)
@Variable[benchmarkIntensity]>=[1]And[benchmarkIntensity]<=[3] Response 1
@Variable[benchmarkIntensity]>=[4]And[benchmarkIntensity]<=[6] Response 2
@Variable[benchmarkIntensity]>=[7]And[benchmarkIntensity]<=[10] Response 3
text 1
The first @Variable line checks if the value of benchmarkIntensity is less than 1 or greater than 10. For example, if you type 0 or 11, she will say I need a number from 1 to 10 and will ask you to type again the value for benchmarkIntensity.
If benchmarkIntensity is between 1 and 10 TeaseAI will move to the second @Variable line without outputting anything in the chat. If benchmarkIntensity is between 1 and 3 your domme will say response1, otherwise TAI will go to the next line and will repeat the process.
Then your domme will say text1.
You can use @Variable and @If with Or and And. You can use as many Or/And per @Variable/@If you want, but you can't use both And and Or with in the same @Variable/@If, as you can read here and here.
The operators you can use with @Variable and @If are: =, <, >, <=, >= and <>.
Bye!
EDIT: Don't use the code I gave you if you have more than a few intervals to check, because it will slow your script. For example, if you have 10 intervals and 10 responses what I would do is this:
Code: Select all
(question)
question? @InputVar[benchmarkIntensity]
@Variable[benchmarkIntensity]<[1]Or[benchmarkIntensity]>[10] I need a number from 1 to 10 @Goto(question)
@NullResponse @RapidCodeOn
@NullResponse @If[benchmarkIntensity]>=[1]And[benchmarkIntensity]<=[3]Then(Response 1)
@NullResponse @If[benchmarkIntensity]>=[4]And[benchmarkIntensity]<=[6]Then(Response 2)
@NullResponse @If[benchmarkIntensity]>=[7]And[benchmarkIntensity]<=[10]Then(Response 3)
...
...
@NullResponse @If[benchmarkIntensity]>=[X]And[benchmarkIntensity]<=[Y]Then(Response 10)
@NullResponse @RapidCodeOff
(Response 1)
This is response 1 @Goto(go to text 1)
(Response 2)
This is response 2 @Goto(go to text 1)
(Response 3)
This is response 3 @Goto(go to text 1)
...
...
(Response 10)
This is response 10 @Goto(go to text1)
(go to text 1)
text 1
Bye!
Last edited by tigrotto on Tue Apr 17, 2018 3:36 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 42 guests