THE FORUM IS IN READ-ONLY MODE

This forum is in read-only mode. The new forum is live at https://discourse.openbullet.dev and registrations are open!

How can LoliScript satisfy two conditions n> 1 AND n <5?



  • How can LoliScript satisfy two conditions n> 1 AND n <5?



  • @tema21978
    using two IF Statement Example

    IF "<n>" GreaterThan "1"
    IF "<n>" LessThan "5"
    PRINT GOOD ##  Do some work or whatever OB statement
    ELSE
    PRINT BAD ##  Do some work or whatever OB statement
    ENDIF
    

    If condition is satisfy on first IF it will continue with second condition otherwise will jump to the first ELSE or ENDIF


Log in to reply