Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute Lua Online

print ('What is your name sir?')
    
    name = io.read()
    
    print ('Welcome to the Ride ',name)
    print ('Do you want to join us on our Journey to Assention?')
    
    choice1 = io.read() 
    
    if choice1 ==yes then
        print ('That is good to hear!!!')
        
        else 
            print ('Trust me, it will be tons of fun!')
            
            end
            
            choice2 = io.read() 
            
        print ('Come on it will be heaps of fun dude, just trust me',name )
        
        if choice2 == yes then
            print ('That is good to hear!!!')
            
            else 
                print ('You really have no choice. Sorry I had to do this but the fate of the cult depends on this')
                
                print ('You are hit by the speaker and slump into sleep')
                end
                
                strike = 0
                
                strike = strike +1
                
                
    

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.