level_trigger_1 = [showgui Jon]  
 
     level_trigger_1 = [showgui Jon]  
 
     newgui Jon [
 
     newgui Jon [
    guitext "Hello, I'm Jon. How are you?"  
+
      guitext "Hello, I'm Jon. How are you?"  
    guibar  
+
      guibar  
    guibutton "Fine, thank you." [echo "OK then."]  
+
      guibutton "Fine, thank you." [echo "OK then."]  
    guibutton "Not well. Goodbye." [cleargui]  
+
      guibutton "Not well. Goodbye." [cleargui]  
 
]  
 
]  
 
*Let's go over this code:
 
*Let's go over this code:
 
**cleargui closes a gui, either permanently or until the NPC is approached again (trigger 12 or 8 respectively).
 
**cleargui closes a gui, either permanently or until the NPC is approached again (trigger 12 or 8 respectively).
 
*Adding inventory
 
*Adding inventory
Exception encountered, of type "Error"