Python in LoliScript



  • Can I write python in openbullet ?
    Example :
    driver = webdriver.Chrome()
    driver.get("https://google.com")
    I know I can made with browser action block but I want learn about this.



  • 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"


  • Admin

    You cannot interact with the selenium webdriver directly using IronPython. Why don't you just use blocks?



  • @ruri I want know Can I run python in Openbullet. Its just example



  • @Polis is my friend's account and he is my near and its our problem 😃


Log in to reply