Ok. I am seeing how I can combine these to get the results I am looking for. I can use @Goto for long lists and for small things I want to make rare I can use a @Chance. Thank you everyone!1885 wrote:Risuld wrote:So each time I try and use something like "@Chance50(a) @Chance50(b)" It just defaults to (a) every time. Did I goof or is this a bug?If you just want everything to have the same chance of being selected, you can just use @Goto() and separate your GotoLines with commas:Risuld wrote:Alright and for chances longer then two things should I just keep adding new lines under the first chance till I hit the default end of the list?
@Goto(A, B) - 50% chance of going to A, 50% chance of going to B
@Goto(A, B, C) 33% chance of going to A, B or C
as many as you want:
@Goto(A, B, C, D, E, F, G, H, I, J) 10% chance of going to any of these
Tease Ai scripting: The HELP CORNER
Moderator: 1885
Re: Tease Ai scripting: The HELP CORNER
-
- Explorer
- Posts: 18
- Joined: Sun Aug 05, 2012 9:18 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Tease Ai scripting: The HELP CORNER
Is there a way to adjust the chances that the domme will make you continue/start another tease right way?
-
- Explorer
- Posts: 20
- Joined: Sun Apr 10, 2016 6:08 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: Tease Ai scripting: The HELP CORNER
Is there a way to "comment" in your code? Sometimes the scripting gets very confusing and it would be cool if I could add notes for myself in certain lines (without them being shown later as text)
- 1885
- Explorer At Heart
- Posts: 648
- Joined: Fri Jul 08, 2011 4:27 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: Tease Ai scripting: The HELP CORNER
Currently it's tied to the domme's level. The higher her level is, the significantly higher the chance to repeat is. I can add more specific settings to the Ranges tab in a future patch thoughStudfu55 wrote:Is there a way to adjust the chances that the domme will make you continue/start another tease right way?
You can use @InfoSkyHimeros wrote:Is there a way to "comment" in your code? Sometimes the scripting gets very confusing and it would be cool if I could add notes for myself in certain lines (without them being shown later as text)
Any line that contains @Info will automatically be ignored in any kind of script. Also, in Start, Modules, Link and End scripts, the last line that contains @Info in a given script will appear as the description for that script in the Script Selection menu.
- avatarbr
- Experimentor
- Posts: 1185
- Joined: Fri Aug 18, 2006 3:33 am
- Gender: Male
- Sexual Orientation: Straight
Re: Tease Ai scripting: The HELP CORNER
Damn, this works:
If you put the correct name (like Anna), will works.
But this dont work:
Just if you type #ContactX
Just wanted to share this, because I think its cool.
Code: Select all
Contact3 name? @InputVar[AV_APAGAR]
ok
@NullResponse @If[AV_APAGAR]=[#Contact3]Then(Right)
Wrong
@End
(Right)
SHIT, This Works
@End
But this dont work:
Code: Select all
Choose a Contact
[#Contact1] OK @Goto(01)
[#Contact2] OK @Goto(02)
[#Contact3] OK @Goto(03)
@DifferentAnswer #Contact1, #Contact2 or #Contact3?
(01)
You choose #Contact1
@End
(02)
You choose #Contact2
@End
(03)
You choose #Contact3
@End
Just wanted to share this, because I think its cool.
-
- Explorer
- Posts: 19
- Joined: Thu Oct 08, 2015 3:45 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Check Orgasm Locked Stat
Hi,
I'm trying to write a little module which checks for your current stat of Orgasm Lock and then acts for the different states.
But for the life of me I can't get anything to compare correctly.
I'm trying something like this:
Anyone got an idea what I'm doin wrong or how I could check if the orgasms currently are locked?
Thanks for your help.
I'm trying to write a little module which checks for your current stat of Orgasm Lock and then acts for the different states.
But for the life of me I can't get anything to compare correctly.
I'm trying something like this:
- Spoiler: show
Anyone got an idea what I'm doin wrong or how I could check if the orgasms currently are locked?
Thanks for your help.
-
- Explorer
- Posts: 19
- Joined: Thu Oct 08, 2015 3:45 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: Check Orgasm Locked Stat
- Spoiler: show
I found that once Orgasms have been restricted the "OrgasmLockDate" is not replaced with "later" anymore but stays on the date. Which is fine, cause the date will still be in the past and Orgasms will be "free" again but completely fucks over the way I would check for a restriction.
I also found out, that I can't compare strings with each other, it just throws errors. Same if used with variables.
So for the life of me I can't figure out a way to check for the state of Orgasm Restriction. Any Help would be greatly appreciated!
Re: Check Orgasm Locked Stat
First: Uncertain about #OrgasmLockDate do they work within variables? I guess not, but not sure.DiDi wrote:So, since nobody posted, here is an update.
- Spoiler: show
I found that once Orgasms have been restricted the "OrgasmLockDate" is not replaced with "later" anymore but stays on the date. Which is fine, cause the date will still be in the past and Orgasms will be "free" again but completely fucks over the way I would check for a restriction.
I also found out, that I can't compare strings with each other, it just throws errors. Same if used with variables.
So for the life of me I can't figure out a way to check for the state of Orgasm Restriction. Any Help would be greatly appreciated!
Secondly: I dont think variables can compares dates? Again I would guess not?
Third: I'm not quite sure about what you're trying to do? Can you elaborate more? Pretend i'm really stupid xD
Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project!
Thank you for spending time on this awesome project!
Re: Check Orgasm Locked Stat
If I'm correct you wanna check if the sub is in chastity? and based on that go in different directions?
You could use the @InChastity command. Do something like this..
Hi Sub
@InChastity I see you're still wearing that awful cage @Goto(Chastity)
Edge for me! @Edge
#LetTheEdgeFade
@End
(Chastity)
Well we cant have fun with you wearing that cage can we?
@End
I believe this would work, but not sure!
If the sub is not in chastity it should skip the line, if he/she is then it would proceed and trigger the @Goto
Hope this helps
Regards
Genome
You could use the @InChastity command. Do something like this..
Hi Sub
@InChastity I see you're still wearing that awful cage @Goto(Chastity)
Edge for me! @Edge
#LetTheEdgeFade
@End
(Chastity)
Well we cant have fun with you wearing that cage can we?
@End
I believe this would work, but not sure!
If the sub is not in chastity it should skip the line, if he/she is then it would proceed and trigger the @Goto
Hope this helps
Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project!
Thank you for spending time on this awesome project!
Re: Tease Ai scripting: The HELP CORNER
avatarbr wrote:Damn, this works:
If you put the correct name (like Anna), will works.Code: Select all
Contact3 name? @InputVar[AV_APAGAR] ok @NullResponse @If[AV_APAGAR]=[#Contact3]Then(Right) Wrong @End (Right) SHIT, This Works @End
But this dont work:
Just if you type #ContactXCode: Select all
Choose a Contact [#Contact1] OK @Goto(01) [#Contact2] OK @Goto(02) [#Contact3] OK @Goto(03) @DifferentAnswer #Contact1, #Contact2 or #Contact3? (01) You choose #Contact1 @End (02) You choose #Contact2 @End (03) You choose #Contact3 @End
Just wanted to share this, because I think its cool.
Woah hold up!
This works????!
You can then use the names like that!
Awesome!!!
Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project!
Thank you for spending time on this awesome project!
-
- Explorer
- Posts: 19
- Joined: Thu Oct 08, 2015 3:45 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: Check Orgasm Locked Stat
Hi,genome231 wrote:If I'm correct you wanna check if the sub is in chastity? and based on that go in different directions?
You could use the @InChastity command. Do something like this..
Hi Sub
@InChastity I see you're still wearing that awful cage @Goto(Chastity)
Edge for me! @Edge
#LetTheEdgeFade
@End
(Chastity)
Well we cant have fun with you wearing that cage can we?
@End
I believe this would work, but not sure!
If the sub is not in chastity it should skip the line, if he/she is then it would proceed and trigger the @Goto
Hope this helps
Regards
Genome
the goal of this script would be to find out if the Orgasms are restricted. Meaning that in the Dom settings there is a limit for orgams/time and its locked in.
What I wanted to do was some kind of gambling game where you could win an free orgasm, but if you loose your orgasms would be restricted. The higher the risk, the higher the chance for that orgasm. Meaning if you want a 50% chance for an orgasm when you loose you would be restricted to e.g. 1 orgasm per 2 month.
But for this I need to check if such a restriction is already in place. And thats the problem.
I hope I could clarify the situation a bit. Thanks for your help.
Re: Check Orgasm Locked Stat
Hi!DiDi wrote:Hi,genome231 wrote:If I'm correct you wanna check if the sub is in chastity? and based on that go in different directions?
You could use the @InChastity command. Do something like this..
Hi Sub
@InChastity I see you're still wearing that awful cage @Goto(Chastity)
Edge for me! @Edge
#LetTheEdgeFade
@End
(Chastity)
Well we cant have fun with you wearing that cage can we?
@End
I believe this would work, but not sure!
If the sub is not in chastity it should skip the line, if he/she is then it would proceed and trigger the @Goto
Hope this helps
Regards
Genome
the goal of this script would be to find out if the Orgasms are restricted. Meaning that in the Dom settings there is a limit for orgams/time and its locked in.
What I wanted to do was some kind of gambling game where you could win an free orgasm, but if you loose your orgasms would be restricted. The higher the risk, the higher the chance for that orgasm. Meaning if you want a 50% chance for an orgasm when you loose you would be restricted to e.g. 1 orgasm per 2 month.
But for this I need to check if such a restriction is already in place. And thats the problem.
I hope I could clarify the situation a bit. Thanks for your help.
Now I understood what you wanted to do.
Sadly i'm quite sure such a thing isn't possible to do, at least not with the current commands, it would also destroy the purphase of locking it down if you could just change it through commands.
So to sum up I done think there is a command that will let you alter that number.
I have a script for Spicy 3.0 where she sorts of negotiates with you about locking your nr. of orgasms per month, later when the period has expired she will try to negotiate a lower amount of orgasms per month, she will continue to do this.
But the thing is, you have to go ahead and lock it yourself Tease-AI cant/wont do it for you.
You could enable such a system yourself through variables/flags etc, but then it becomes quite extensive work, since it needs to be integrated with all other modules for it to work.
Let me know if my response didn't made sense to you.
Regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project!
Thank you for spending time on this awesome project!
-
- Explorer
- Posts: 12
- Joined: Sat Mar 19, 2016 9:27 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: Check Orgasm Locked Stat
Hi there,DiDi wrote:Hi,
I'm trying to write a little module which checks for your current stat of Orgasm Lock and then acts for the different states.
But for the life of me I can't get anything to compare correctly.
I'm trying something like this:But it just throws out errors. I tried doing it with variables instead of the System keywords but that doesn't work either.
- Spoiler: show
Anyone got an idea what I'm doin wrong or how I could check if the orgasms currently are locked?
Thanks for your help.
You're using ['later']. Try using [later], so without the quotations. That worked for me.
Re: Check Orgasm Locked Stat
So you're saying the principle of the script works?milo7 wrote: Hi there,
You're using ['later']. Try using [later], so without the quotations. That worked for me.
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project!
Thank you for spending time on this awesome project!
-
- 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
Ok,
after loosing all my hair over this I finally got it to work. Seems like you cant compare variables with simple strings, but can only compare variables with other variables (which can contain a string). I also got the check to work with a little trick.
After that the first Check just looks if the LockDate is "later" and moves on.
The second one is a bit trickier. I found the CheckDate command which can compare the current Date to a Date in a variable and goes to the specified line if true.
This was needed, as I found out that the LockDate isn't changing back to "later" if the Date passed by some times. Sometimes it would go back sometimes it wouldn't and I can't be assed to test this further so I just build a workaround.
So sometimes my script would work with just the check for "later" and sometimes it would fail. But by checking for the Date aswell I made it work 100% of the time.
The first two lines are at the beginning of my script and the others are way down, but just for showing it here I scrambled them together.
Hope this helps some people do some more creative things with the build in Orgasm restriction, cause I am not a fan of chastity cages and this gives some control away without them.
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 ;)
@genome231: It doesnt change the LockDate btw, I dont think thats possible by commands.
after loosing all my hair over this I finally got it to work. Seems like you cant compare variables with simple strings, but can only compare variables with other variables (which can contain a string). I also got the check to work with a little trick.
- Spoiler: show
After that the first Check just looks if the LockDate is "later" and moves on.
The second one is a bit trickier. I found the CheckDate command which can compare the current Date to a Date in a variable and goes to the specified line if true.
This was needed, as I found out that the LockDate isn't changing back to "later" if the Date passed by some times. Sometimes it would go back sometimes it wouldn't and I can't be assed to test this further so I just build a workaround.
So sometimes my script would work with just the check for "later" and sometimes it would fail. But by checking for the Date aswell I made it work 100% of the time.
The first two lines are at the beginning of my script and the others are way down, but just for showing it here I scrambled them together.
Hope this helps some people do some more creative things with the build in Orgasm restriction, cause I am not a fan of chastity cages and this gives some control away without them.
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 ;)
@genome231: It doesnt change the LockDate btw, I dont think thats possible by commands.