MV Olivia OTB System - Current Turn script call?

Plugin: https://fallenangelolivia.itch.io/order-turn-battle-system
So, Olivia's OTB system gives certain skills the ability to move forward or backwards in the current or next turn. It can be done using notetags like <OTB Target Current Turn: +x> and such.

I wanted to create a skill using Yanfly's action sequences that only applies the turn change if a certain condition is met, like if the skill applied a state. The only thing the notetags allow you to do is change the turn order no matter what, as long as the skill is hit. I'd try to figure it out myself, but Olivia's plugins are encrypted and I don't think I can get in contact with them...

Does anyone have any idea what the script call could be, or a way I could work around it? The notetag only works on skills and items.
BattleManager.otbNextTurnChange(target, -2000, true); for the current turn and

BattleManager.otbNextTurnChange(target, -2000, false); for the next... these seem to work for me.

the -2000 is speed based I think. meaning the higher the speed the more the target is pushed forward or backwards if you go negative. you can also sub out target for user.

so yeah, use this as an eval in an action sequence and see if that works. it seemed to for me.
BattleManager.otbNextTurnChange(target, -2000, true); for the current turn and

BattleManager.otbNextTurnChange(target, -2000, false); for the next... these seem to work for me.

the -2000 is speed based I think. meaning the higher the speed the more the target is pushed forward or backwards if you go negative. you can also sub out target for user.

so yeah, use this as an eval in an action sequence and see if that works. it seemed to for me.
Thanks a bunch! I'll give these a shot when I get the chance later on. So the "true" makes their order change immediately, and the "false" makes it for the next one? Out of curiosity, do you know what the code would be for the following turn as well? So that it would be dependent on whether or not the target has already moved.
well that depends on what you mean for following turn. I don't think I explained it well... true Is for the current set of turns while false is for the second set of turns. that's where the 2000 thing comes in. that I think determines how far forward or backwards the user/target is pushed in that set of turns. negative 2000 and false pushed them to the end of the next set of turns. while negative 2000 and true pushed them to the end of the current turns... IF they haven't acted yet of course.

hopefully that explains it better.
Ah alright, I gotcha. Thanks!
well that depends on what you mean for following turn. I don't think I explained it well... true Is for the current set of turns while false is for the second set of turns. that's where the 2000 thing comes in. that I think determines how far forward or backwards the user/target is pushed in that set of turns. negative 2000 and false pushed them to the end of the next set of turns. while negative 2000 and true pushed them to the end of the current turns... IF they haven't acted yet of course.

hopefully that explains it better.

Original thread: https://forums.rpgmakerweb.com/threads/olivia-otb-system-current-turn-script-call.150094/