avatarbr wrote: ↑Wed Nov 22, 2017 12:12 am
Did you tried that way?
Code: Select all
#GreetSub
Testing followup with tempflag @FollowUp(setting <b>flag</b>) @TempFlag(flag)
@Flag(flag) <b>flag</b> has been set
(End)
Ending script... @EndTease
No, in this case I would have written
Code: Select all
#GreetSub
Testing followup with tempflag
setting <b>flag</b> @TempFlag(flag)
@Flag(flag) <b>flag</b> has been set
(End)
Ending script... @EndTease
I would have had the same result in a much easier way.
This was just a first test to see if I could use @FollowUp with another command inside or just with text(in another script I used
@RT() with a command inside but it wasn't possible to use it that way). So instead of using @FollowUpXX I used @FollowUp to be sure to trigger what's inside the @FollowUp(ok, I could have used @FollowUp99).
In the real script flag
flag will be set only if what's inside the @FollowUp(@FollowUp50 in the real script) has been triggered, because, later in the script, that
flag is used to do something else but only if the @FollowUp has been triggered.
That's why I need the @TempFlag inside the @FollowUp50; but if I use it this way
testing followup @FollowUp(setting flag @TempFlag(flag))
this red bracket is shown in the chat like if it was written
testing followup ) @FollowUp(setting flag @TempFlag(flag)
So it seems that you can use @FollowUp
() with both brackets or just with the first @FollowUp
(.
EDIT
I was reading the patch notes and found
this
The last line in
Bugfixes says:
")" sometimes got left behind after using @FollowUp() Commands (dariobrun)
while the fourth from last line in Miscellaneous says:
")" can now be used as a character inside @RT()@RandomText() and @FollowUp() (dariobrun)
Probably the problem with ) left behind was not fixed correctly or there's a problem with ) when used as a character in @FollowUp