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