Re: [Tease AI] Miss Blue [v3.7]
Posted: Sat Jun 17, 2023 10:08 am
Fixed missing letter and a word that was misspelled.
Place in
MissBlue\Custom\Modules_Play
Place in
MissBlue\Custom\Modules_Play
Code: Select all
@NullResponse @ChangeVar[AV_RamdomResult]=[AV_Ramdom1]-[AV_UserNumber1]Code: Select all
@NullResponse @ChangeVar[AV_RamdomResult]=[AV_UserNumber1]-[AV_Ramdom1]Code: Select all
@Variable[OrgasmControl]=[1] @NullResponse @CheckFlag(WantToCum,OCF)
@Variable[OrgasmControl]=[1] @NullResponse @Goto(Deny General)
@Variable[OrgasmControl]=[2] @NullResponse @Goto(Denial Punishment)
@Variable[OrgasmControl]=[3] @NullResponse @Goto(Dice)
@Variable[OrgasmControl]=[4] @NullResponse @Goto(Denial Punishment)
@Variable[OrgasmControl]=[5] @NullResponse @Goto(Permanent)
@Variable[OrgasmControl]=[6] @NullResponse @Goto(Set Record)
@Variable[OrgasmControl]=[7] @NullResponse @SetVar[OrgasmControl]=[0] @Goto(Deny General)
@Variable[OrgasmControl]=[8] @NullResponse @Goto(Pick A Number)
@NullResponse @SetVar[OrgasmControl]=[0] @Goto(Deny General)Code: Select all
(OCF)
@Variable[DaysSinceOrgasm]<[2] @NullResponse @Goto(Go To Deny)
@Variable[DaysSinceOrgasm]=[7] @NullResponse @Goto(OCF Week)
@Variable[DaysSinceOrgasm]=[8] @NullResponse @Goto(OCF Week)
@Variable[DaysSinceOrgasm]=[9] @NullResponse @Goto(OCF Week)
@Variable[DaysSinceOrgasm]>[27] @NullResponse @Goto(OCF End)
@Variable[DaysSinceOrgasm]>[13] @NullResponse @Goto(OFC Two Weeks)
@NullResponse @Chance50(Deny General)
(General OFC Denial)
@NullResponse @Goto(OCF1,OCF2,OCF3,OCF4,OCF5,OCF6,OCF7)Code: Select all
@NullResponse @Chance50(Deny General)Code: Select all
@Variable[DaysSinceOrgasm]>[13] @NullResponse @Goto(OFC Two Weeks)Don't hesitate to ask, like with most stuff in life, ... once you have understood it, it's totally easy.TanyaHumble wrote: Fri Jun 16, 2023 10:08 pm I really struggle with the "deeper" stuff like variables
The only valid line can only be:TanyaHumble wrote: Sat Jun 17, 2023 2:52 pm here is where I ended upI have 18 in the Variable DaysSinceOrgasm so where do you think I end up?Code: Select all
(OCF) @Variable[DaysSinceOrgasm]<[2] @NullResponse @Goto(Go To Deny) @Variable[DaysSinceOrgasm]=[7] @NullResponse @Goto(OCF Week) @Variable[DaysSinceOrgasm]=[8] @NullResponse @Goto(OCF Week) @Variable[DaysSinceOrgasm]=[9] @NullResponse @Goto(OCF Week) @Variable[DaysSinceOrgasm]>[27] @NullResponse @Goto(OCF End) @Variable[DaysSinceOrgasm]>[13] @NullResponse @Goto(OFC Two Weeks) @NullResponse @Chance50(Deny General) (General OFC Denial) @NullResponse @Goto(OCF1,OCF2,OCF3,OCF4,OCF5,OCF6,OCF7)
--->Yet again I feel like it's "RapidCodeOn" that somehow messes it up, because I ran an edited version without it and changed the variable to different settings and the Variables worked like they should.
I have thought of it, and maybe down the line I will give it a go. Maybe it will inspire others to hunt for bugsa test-installation
Already using it.- Use 'Notepad++' as your text-editor, it's 'find in files'-feature is really mighty, I couldn't imagine scripting without that anymore.
Hi!Edants wrote: Thu Mar 16, 2023 12:09 pm Tried that and still get the same error message...
I also get the message at the end of a session.
And in the vocabulary folder there is no File named #Var - is that perhaps the problem?
I was running MB on the open beta version and I remember it having some problem with certain variable lines. Later switched to Fury due to another bug and the variable problem seems solved so my guess is that is somehow engine related?Engel wrote: Sun Jun 18, 2023 9:08 pmHi!Edants wrote: Thu Mar 16, 2023 12:09 pm Tried that and still get the same error message...
I also get the message at the end of a session.
And in the vocabulary folder there is no File named #Var - is that perhaps the problem?
I solved that taking in mind that #Var[varname] alone will be substituted by the contents of the var in de Variables folder in this case ChastityMaxDays. Sure, that value must be able to be parsed as a number as it is used in a numerical comparison...
As I don't see what logic are behind putting that expression inside claudators [] I removed them!
I Changed all lines using [#Var...] without the claudators:
@Variable[#DateDifference(ChastityStartDate,days)]>=#Var[ChastityMaxDays] @NullResponse @Goto(OUT)
I'm begining to understand this scripting system so I don't know if this solution may cause malfunction of the script but the error doesn't occur now.
And his solutionAre you using an older version of Tease AI? It turns out that using #Var like I did here works with Fury (patch 59), but not with Sweet Patch.
So if you are running Sweet Patch and this works it's a great solution!That means either update to the most recent version or, if you don't want to do that, replace #Var[ChastityMaxDays] with its value, in your case 5. The script is Custom/MissBlueSystem/ChastityDecisionOff.txt, line 6. There may be other scripts with similar issues though, so updating Tease AI would probably be your best option.
I switched the files and just had an MB Session where she locked me up - without any error message.Engel wrote: Sun Jun 18, 2023 9:08 pmHi!Edants wrote: Thu Mar 16, 2023 12:09 pm Tried that and still get the same error message...
I also get the message at the end of a session.
And in the vocabulary folder there is no File named #Var - is that perhaps the problem?
I solved that taking in mind that #Var[varname] alone will be substituted by the contents of the var in de Variables folder in this case ChastityMaxDays. Sure, that value must be able to be parsed as a number as it is used in a numerical comparison...
As I don't see what logic are behind putting that expression inside claudators [] I removed them!
I Changed all lines using [#Var...] without the claudators:
@Variable[#DateDifference(ChastityStartDate,days)]>=#Var[ChastityMaxDays] @NullResponse @Goto(OUT)
I'm begining to understand this scripting system so I don't know if this solution may cause malfunction of the script but the error doesn't occur now.
yes, I'm using Sweet Patch as it is the recommended one installing Miss Blue.TanyaHumble wrote: Mon Jun 19, 2023 11:38 am So if you are running Sweet Patch and this works it's a great solution!
I'm glad it helped ;)Edants wrote: Mon Jun 19, 2023 8:24 pm Thanks for the solution and all you bug fixing work on MB, much appreciated.
Code: Select all
@Stroking #StopStroking @StopStroking
@Variable[#DateDifference(LastOrgasm,days)]<[6] @NullResponse @Goto(OFC,DICE)
@Variable[#DateDifference(LastOrgasm,days)]>[13] @NullResponse @Goto(Long Denial)
@NullResponse @Goto(PICK NUMBER,RECORD OR PERMANENT)Code: Select all
@NullResponse @Call(Custom/Modules/OCSelect.txt,RECORD OR PERMANENT)The '@Variable[' is a filter, and all filters work the same, ... it's like you ask a question which can be answered with yes or no.The first part is, if days since orgasm are less then 6 go to 1 or 2. And the second part is, if days since orgasm are more then 13 go to 3. But the last line will never trigger?
Here you ask if the result of '#DateDifference(LastOrgasm,days)' is less than 6 days, since it's 9 days ago, the 'answer' is no. -> The filter is not valid. -> The filter returns false. -> This script line gets ignored.@Variable[#DateDifference(LastOrgasm,days)]<[6] @NullResponse @Goto(OFC,DICE)
Kinda the same:@Variable[#DateDifference(LastOrgasm,days)]>[13] @NullResponse @Goto(Long Denial)
---> So to answer your question, it will be triggered if the 2 lines above are not valid / are answered with no / return false.@NullResponse @Goto(PICK NUMBER,RECORD OR PERMANENT)
Code: Select all
Set the date so that the last orgasm would be 3 days ago ... @SetDate(LastOrgasm,-3 days)
Display the date ... #Var[LastOrgasm]
-> It's always a good idea to display every variable you are dealing with, that way you have them on your screen, ...
and that way you also can find problems much easier, ... so let's display that date-difference as well...
Display the date difference: #DateDifference(LastOrgasm,days)
Now we let the filters do their work:
@Variable[#DateDifference(LastOrgasm,days)]<[6] @NullResponse @Goto(Lower_Than_Six_Days)
@Variable[#DateDifference(LastOrgasm,days)]>[13] @NullResponse @Goto(Higer_Than_13_Days)
@NullResponse @Goto(Something_In_Between)
(Lower_Than_Six_Days)
We are lower than 6 days @Goto(End_This_Test)
(Higer_Than_13_Days)
We are higer than 13 days @Goto(End_This_Test)
(Something_In_Between)
We are something in between 6 and 13 days @Goto(End_This_Test)
(End_This_Test)
Happy scripting! :-)
@End