tigrotto wrote: Thu Nov 23, 2017 3:22 pm
Thanks for your reply Daragorn!
Doing as you said fixed the problem:
- Spoiler: show
Code: Select all
#GreetSub
[/quote]
Glad it worked...it seems that for some reason the bug with the double )) is back in the latest patch :-(
[quote]
However I did another test yesterday and I repeated it today: I used @FollowUp without the @TempFlag and ")" and it worked without problems, while it should have displayed [i]setting [b]flag[/b][/i] right after [i]Testing followup with tempflag[/i]
Here's the test with the output in the chat:
[spoiler][code]#GreetSub
Testing followup with tempflag @FollowUp(setting <b>flag</b>
@Flag(flag) <b>flag</b> has been set
(End)
Ending script... @EndTease
01.42 Bobbi: I was hoping to find you here this afternoon slave
01.43 Bobbi: Testing followup with tempflag
01.43 Bobbi: setting flag
01.43 Bobbi: Ending script...
Mmm.....i lost you here...i don't see what's wrong with it..
Ahhh ok i got it....and i also think why the double )) has come back now.....i added (and i forgot i did

) a "safenet" just for those cases in which you forget the closing ) and instead of throwing errors, it will execute the command correctly...but probably this has some small bug somewhere so that when a command is correctly written but ends with 2 )) then it messes up

....so instead of fixing a problem i added a new one ehehe).
I also tested your solution without the final ")": flag
flag has been set but the text inside the @FollowUp didn't appear in a new line, but right after
Testing followup with tempflag. See the spoiler below:
- Spoiler: show
Code: Select all
#GreetSub
Testing followup with tempflag @FollowUp(@TempFlag(flag) setting <b>flag</b>
@Flag(flag) <b>flag</b> has been set
(End)
Ending script... @EndTease
02.09 Bobbi: Just who I wanted to see today, my favourite wanker *grin*
02.10 Bobbi: Testing followup with tempflag setting flag setting flag
02.10 Bobbi: Ending script...
In this case instead i think the "safenet" (i should rename it the bugnet

makes it so that, since you forget the closing ) for the followup, he consider the closing ) in the tempflag as the closing of the followup too, so it will consider whatever it is after it as part of the first line....but i am guessing honestly, i should run it in debug mode and see what happens....but sadly as i said somewhere else i am working on other stuff in the free time, so i don't have time to dig into teaseAI to fix it right now)