How to display a text file? #2029
              
                
                  
                  
                    Answered
                  
                  by
                    Khaivn1308
                  
              
          
                  
                    
                      Khaivn1308
                    
                  
                
                  asked this question in
                Q&A
              
            -
| i tried "type": "custom", and "type": "exec", but the text file wont show up. i dont know what im doing. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            Khaivn1308
          
      
      
        Oct 27, 2025 
      
    
    Replies: 1 comment 4 replies
-
| "type": "command", | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
okay, i just tweaked my python program to write only one line to each txt file.
Use this module to display the text:
"type": "command",
"text": "type %TEMP%\mcstatus.txt" // Only the first line will be printed