Reset Runner Start Position Using Loliscript



  • Is there any way I can change the start position of a runner using loliscript? for example: after a list has completed, I would like the runner's start position to reset to 0 and continue.



  • Read a little in documentation about:

    The BEGIN SCRIPT statement will mark an area of the script where the commands will be executed using another scripting language.
    The OUTPUTS literal can contain a comma-separated list of variable names that you want to extract from the script's scope and declare inside OB as strings or lists.
    It is useful to mention that your normal variables will be automatically declared inside the script as strings / lists of strings / dictionaries (if their name is allowed by that language's standards).
    Available languages:
    JavaScript
    IronPython

    Syntax:
    BEGIN SCRIPT LANGUAGE
    [script here]
    END SCRIPT -> VARS "OUTPUTS"

    Example:
    BEGIN SCRIPT JavaScript
    var a = 1+2;
    var b = 'hello';
    END SCRIPT -> VARS "a,b"

    You can access the saved values of variables and use them in literals by including them in angle brackets like this <A>.

    There are 3 types of variables:
    Single
    List
    Dictionary

    Examples (NAME is the variable name):

    • Single
      <NAME>
    • List (access one element by index or all element using * as index)
      <NAME[0]>
      <NAME[*]>
    • Dictionary (access by key using () and by value using {}, supports )
      <NAME(key)>
      <NAME{value}>
      <NAME(
      )>
      <NAME{*}>


  • @Sir-Dankenstein not possible.

    @AMCypher i don't get your answer. - It's like anwering "november" to the question how late it is.



  • @meinname ah aight got it, thanks


Log in to reply