เป็นคำสั่งที่ใช้สำหรับแสดงข้อความที่ขึ้นบนหน้าจอขณะเล่นเกม
มีรูปแบบของคำสั่งดังต่อไปนี้

คำสั่ง dialog นั้นประกอบไปด้วย parameter ดังต่อไปนี้
1. name="ชื่อobject"
เป็น parameter ที่ใช้ระบุว่า dialog ที่แสดงข้อความนั้นเป็นของ object ไหน(ตัวละครไหน) โดยที่ object นั้นจะต้องถูกประกาศเอาไว้ที่ด้านบนของไฟล์อยู่แล้วด้วยคำสั่ง <object>
2. mouth_begin="ภาพปากขณะพูด"
เป็น parameter ที่ใช้ระบุว่าเมื่อแสดงข้อความใน dialog นี้นั้น ควรจะใช้ภาพปากขยับแบบไหนระหว่างแสดงข้อความ
โดยโปรแกรมจะทำการค้นหา <switch var="mouth"> จากไฟล์ Xml Animation Script ที่ได้มีการผูกติดกับ object ที่ได้มีการระบุชื่อเอาไว้ด้วยการใช้คำสั่ง <object>(คนละส่วนกับ Xml Novel Script Format)
3. mouth_end="ภาพปากตอนไม่ได้พูด"
เป็น parameter ที่ต้องใช้คู่กับ parameter mouth_begin="ภาพปากขณะพูด"[/b] เสมอๆ โดยที่ภาพที่ใช้ในนี้จะเป็นภาพตอนที่พูดเสร็จแล้ว
คำสั่งย่อย <line>
เป็นคำสั่งย่อยที่อยู่ภายในการใช้คำสั่ง <dialog>
โดยที่คำสั่งนี้นั้นจะมี parameter ที่เกี่ยวข้องดังต่อไปนี้
1. string='ข้อความ'
เป็น parameter ที่ป้อนข้อมูลประเภทข้อความให้กับโปรแกรมเพื่อแสดงผลออกทางหน้าจอโดยที่ ส่วนข้อมูลนั้นจะอยู่ใน 'ข้อความ' ซึ่งจะต้องปิดหน้าหลังด้วยเครื่องหมาย ' หรือ " เหมือนกับเวลาเขียนประโยคพูดเสมอๆ
ถ้ามีการเขียนคำสั่ง <line> มากกว่า 1 ชุดในคำสั่ง <dialog> เดียวกันนั่นหมายความว่าโปรแกรมจะแสดงข้อความมากกว่า 1 บรรทัดภายใน <dialog> นั้น
ตัวอย่าง
ลองเปิด day01.xml แล้วแก้ไขข้อความภายในคำสั่ง <dialog> ดู
====================================================
(Command Set of <dialog>)
The <dialog> commands are used to define what messages would be shown n the screen. The format of the <dialog> command is displayed below:

The dialog commands have the following parameters.
1. name="object name"
This parameter defines what object (which character) is related with the following dialog. The object must be pre-defined in the engine.
2. mouth_begin="mouth_animation"
This parameter defines what mouth animation would be used during the dialog scene. The mouth_animation defined must be defined by the program using the <switch var="mouth"> from the Xml Animation Script which is binded with character object (<object>).
3. mouth_end="mouth_animation_end"
This parameter is used to define which mouth animation (picture) should be used when the character object stops speaking. This parameter has to be used with the mouth_begin="mouth_animation" parameter.
Command Set <line>
This is a subcommand that is used inside the <dialog>. There are a number of parameters as follows.
1. string='message'
This parameter defines a line of message that is to be shown in the screen. The message could either be enclosed with the single-quote(') or double-quote(").
To get more than one line of message, then there should be multiple <line> commands in an enclosing <dialog>.
Examples
Try opening up day01.xml and try changing the dialog and see the changes with the novel.
