// The canonical command metadata below is authored in Thai. Non-Thai locales get
// English text from this map so the console follows the selected language.
letcurrentLanguage='th';
exportfunctionsetCommandLanguage(lang){
currentLanguage=lang==='th'?'th':'en';
}
constEN_TEXT={
'แสดงรายการคำสั่งและวิธีใช้':'Show the command list and usage',
'ส่งคำสั่งฟื้นฟู HP, พลังงาน และแต้มสกิล':'Restore HP, energy and skill points',
'ปรับตัวละครทั้งหมดเป็นเลเวล 80 และ E6':'Set all characters to level 80 and E6',
'กู้หน้าจอที่หมุนค้าง โดยเก็บความคืบหน้า CW':'Recover a spinning screen while keeping CW progress',
'ล้างสมาชิกทีมปัจจุบัน':'Clear the current team',
'ปรับเลเวลและ Eidolon ของตัวละคร':'Set a character level and Eidolon',
'ส่งคำสั่งเพิ่มไอเท็ม':'Add items',
'เปลี่ยนฉากปลายทาง':'Change the destination scene',
'ดู/ตั้งเวลาเกม โดยไม่เปลี่ยนเวลา Windows':'View or set game time without changing Windows time',
'แสดงวิธีใช้คำสั่ง CW':'Show CW command usage',
'ดูเงิน HP เลเวล และสถานะรอบ CW':'View money, HP, level and CW round status',
'แสดงรายการ ID ของ CW':'List CW IDs',
'เพิ่ม EXP ในรอบ CW':'Add EXP in the CW round',
'ตั้งค่าพลังบุกเบิก (Trailblaze Power / เหรียญร้านรถไฟ) ในรอบ CW':'Set Trailblaze Power (train shop currency) in the CW round',
'เพิ่มตัวละคร CW (ใช้ได้ใน Preparation)':'Add a CW character (Preparation only)',
'จำนวนเต็มบวก เช่น 1, 10 หรือ 100':'Positive integer, e.g. 1, 10 or 100',
'เลือก ID ตัวละครจากรายชื่อ':'Pick a character ID from the list',
'เลเวล 1–80 (ไม่ใส่เพื่อคงค่าเดิม)':'Level 1–80 (omit to keep the current value)',
'Eidolon 0–6':'Eidolon 0–6',
'ID ไอเท็มจาก catalog เซิร์ฟเวอร์':'Item ID from the server catalog',
'เลือก Plane ID':'Pick a Plane ID',
'เลือกชั้นที่อยู่ใน Plane นี้':'Pick a floor inside this Plane',
'status = ดูเวลา · off = เวลาจริง · หรือ Unix seconds / RFC3339 พร้อม timezone':'status = view time · off = real time · or Unix seconds / RFC3339 with timezone',
'เลือกชนิดข้อมูล':'Pick a data type',
'HP 1 ถึงเพดานของรอบปัจจุบัน':'HP from 1 up to the current round cap',
'จำนวนเต็มไม่ติดลบ (เป็นยอดรวม ยกเว้น exp ที่เป็นจำนวนเพิ่ม)':'Non-negative integer (a total, except exp which is added)',
'จำนวนพลังบุกเบิก เช่น 10, 50, 100':'Trailblaze Power amount, e.g. 10, 50, 100',
'เลือก Role ID ของ CW':'Pick a CW Role ID',
'ดาวที่มีข้อมูลรองรับสำหรับ Role นี้':'Supported stars for this Role',
'เลือก ID จากข้อมูล CW ของ Client':'Pick an ID from the Client CW data'
spec('/cw role','เพิ่มตัวละคร CW (ใช้ได้ใน Preparation)',[arg('roleID','เลือก Role ID ของ CW','cw_roles'),arg('star','ดาวที่มีข้อมูลรองรับสำหรับ Role นี้','cw_stars'),quantity()]),