Initial commit
This commit is contained in:
		
							
								
								
									
										16
									
								
								examples/main.chsp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								examples/main.chsp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
// comment lmao
 | 
			
		||||
/* a confusing comment */
 | 
			
		||||
egg notepad
 | 
			
		||||
init {
 | 
			
		||||
    sendMessage "Hello there!"
 | 
			
		||||
    html {
 | 
			
		||||
        <textarea id="dingus">
 | 
			
		||||
    }
 | 
			
		||||
    log "egg initialised"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
onRecieving egg, *, * {
 | 
			
		||||
    messagehtml {
 | 
			
		||||
        <div style="color: blue">we have successfully dingused</div>
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user