Mudlet: توحيد رسائل الخطأ في TLuaInterpreter.cpp

تم إنشاؤها على ٢٨ أكتوبر ٢٠١٨  ·  7تعليقات  ·  مصدر: Mudlet/Mudlet

ملخص موجز للمشكلة / وصف العنصر المطلوب:

تقدم بعض الوظائف (وليس كلها) معلومات أساسية عن الفشل ، على سبيل المثال: أي وسيطة ليست كما هو متوقع (إذا كانت هناك عدة وسيطات) وما الذي كان متوقعًا بدلاً من ذلك. يجب توسيع هذا كأفضل ممارسة لجميع الوظائف.

أسباب إضافة الميزة:

  1. يبدو أن أفضل الممارسات الحالية هي شيء مثل " getFontSize : نوع وسيطة سيئة رقم 1 (اسم النافذة كسلسلة متوقعة ، حصلت على٪ s!)".
  2. أسوأ مثال للممارسة مثل " createLabel : نوع وسيطة خاطئة" ، حيث يُتوقع منك تقديم 6 وسيطات مختلفة ، ولن تعرف أبدًا أيها فشل أو لماذا.
  3. لسوء الحظ ، لا يبدو هيكل الجملة لمثال "أفضل الممارسات" أعلاه مثاليًا من الناحية النحوية أو سهل الفهم لغير الناطقين باللغة الإنجليزية.

النتيجة المتوقعة للميزة

يبدو أن الممارسة الجيدة تتكون من العناصر التالية:

  • من السهل فهم بنية الجملة الإنجليزية مع تضمين جميع العناصر المطلوبة (على سبيل المثال ، "متوقع X ، حصلت على Y")
  • رقم الوسيطة الفاشلة (على سبيل المثال ، "# 1")
  • معنى الحجة المذكورة (على سبيل المثال "اسم النافذة")
  • النوع المتوقع من الوسيطة المذكورة (مثل "سلسلة")
  • تلقي نوع الوسيطة المذكورة (تمت إضافته ديناميكيًا ، على سبيل المثال "٪ s")
  • اختياريًا ، الإشارة إلى ما إذا كانت الحجة المذكورة اختيارية أم لا (لم يتم تضمينها في المثال أعلاه)

أفكار لكيفية الحل / التنفيذ:

  • يجب تحسين بنية الجملة الإنجليزية لمزيد من الفهم ، مثل: "(اختياري) الوسيطة رقم 1 (اسم النافذة) من نوع خاطئ! السلسلة المتوقعة ، حصلت على٪ s"
  • لتجنب النمو غير المنضبط لأنماط رسائل الخطأ المختلفة مرة أخرى ، يجب أن يكون إنشاء الرسالة المذكورة مركزيًا في وظيفة مساعدة ، والتي تتلقى فقط التفاصيل كما هو مذكور أعلاه ، وتعيد السلسلة الكاملة. لذلك ، يمكن تسليم التعديلات المستقبلية على بنية الجملة مرة واحدة وإلى الأبد بسهولة.
help wanted wishlist

التعليق الأكثر فائدة

سأضع علامة على هذا على أنه تم. تتم مناقشة الوظيفة الوحيدة المتبقية (setPopup) في قضية منفصلة رقم 4641 لا تزال.

وفي الوقت نفسه ، أنشأنا وظائف المساعد المطلوبة وأعطينا أخطاء كتابة ذات مغزى وأخطاء قيمة لجميع وظائف c ++.

تم فحص وظائف Lua أيضًا. لا يقوم كل منهم بالتحقق من جميع الحجج الخاصة بهم بالفعل ، ولكن إذا فعلوا ذلك ، فإنهم يقدمون رسائل خطأ إعلامية.

ال 7 كومينتر

رسائل الخطأ الأخرى لا تتحدث عن نوع خاطئ ، ولكن عن قيمة خاطئة.

مثال لأفضل الممارسات حتى الآن: " setBackgroundColor : وسيطة سيئة #٪ d قيمة (يجب أن تكون القيمة الحمراء بين 0-255 ، حصلت على٪ d)"

اقتراح على طول الأسطر أعلاه: "(اختياري) الوسيطة #٪ d (قيمة حمراء) لها قيمة غير متوقعة! يجب أن تكون القيمة المتوقعة بين 0-255 ، حصلت على٪ d"

في الواقع ، فإن حالات القيمة الخاطئة (بالعامية ، أو على الأقل من قبلي ، تسمى أخطاء وقت التشغيل لأن الوسائط المقدمة من النوع الصحيح ولكنها ليست القيم الصحيحة لإنتاج نتائج صحيحة) بدأت بالفعل في إعادة بنائها والابتعاد عن المثال اقتبس في آخر وظيفة. أنهم:

  • لا تذكر بعد الآن الوظيفة التي حدثت فيها المشكلة ( setBackgroundColor: في المثال أعلاه ، لأن IIRC وفقًا لـ Vadim يعرف المستخدم ما هي الوظيفة ، لذلك لا داعي لتكرارها).
  • يجب ألا تبدأ بحرف كبير أو أن تحتوي على علامات ترقيم طرفية لأنها يمكن معالجتها بواسطة وظيفة الاستدعاء (لا تستدعي lua_error(L) لإيقاف التنفيذ) وقد يتم تغليفها بنص إضافي لأغراض العرض.
  • يجب أن يشرح بعبارات ودية ما هو الخطأ ، وما هي القيمة المقدمة (إن أمكن) وما هو النطاق الصحيح للقيم (مرة أخرى ، إذا كان ذلك ممكنًا ، ولكن ربما يكون مناسبًا فقط للحجج الرقمية).

فيما يتعلق بتقرير المشكلة الأولي ، أود أن أشير إلى أن استخدام العبارة as XXXX expected, got YYYY! يشير إلى وسيطة مطلوبة في تلك الرسائل حول النوع الخاطئ - لقد قمت للتو بحساب شيء بترتيب 180 مثالًا لذلك في TLuaInterpreter.cpp file ... وبالنسبة للوسيطات الاختيارية ، سيكون النص as XXXX is optional, got YYYY! وقد رصدت 20 منها الآن. : ابتسامة عريضة:

فيما يلي قائمة جرد للوظائف العامة لـ TLuaInterpreter
(هناك ملفات أخرى تنشئ وظائف عامة أيضًا ، ولكن يبدو أن هذا هو القطيع الأكبر)
المصدر: TLuaInterpreter::initLuaGlobals

يشير الموضع في المجموعات التالية إلى ما إذا كانت رسائل الخطأ معيارية (إلى حد ما):


تم إصلاح هذه الوظائف الآن

(تملأ من الأسفل)

⚡ رسائل الخطأ التي يجب توحيدها بالفعل

رمز المصدر يحتاج إلى التعديل ، والرسائل بحاجة إلى التحسين. بعد ذلك ، انتقل إلى القسم "الثابت" أعلاه و / أو تعيين علامة الاختيار

  • [x] [addMapMenu] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addMapMenu) (TLuaInterpreter :: addMapMenu)
  • [x] [addSpecialExit] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addSpecialExit) (TLuaInterpreter :: addSpecialExit)
  • [x] [addSupportedTelnetOption] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addSupportedTelnetOption) (TLuaInterpreter :: addSupportedTelnetOption)
  • [x] [clearSpecialExits] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearSpecialExits) (TLuaInterpreter :: clearSpecialExits)
  • [x] لا يبدو أن clearUserWindow (التي تم نشرها كـ clearWindow) تتحقق من الحجج من أجل الوضوح على الإطلاق ، حتى الآن!
  • [x] [createBuffer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createBuffer) (TLuaInterpreter :: createBuffer)
  • [x] [createMapImageLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createMapImageLabel) (TLuaInterpreter :: createMapImageLabel)
  • [x] [createMapLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createMapLabel) (TLuaInterpreter :: createMapLabel)
  • [x] [deleteMapLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteMapLabel) (TLuaInterpreter :: deleteMapLabel)
  • [x] [deleteRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteRoom) (TLuaInterpreter :: deleteRoom)
  • [x] [disableAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableAlias) (TLuaInterpreter :: disableAlias)
  • [x] [disableTimer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableTimer) (TLuaInterpreter :: disableTimer)
  • [x] [disableTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableTrigger) (TLuaInterpreter :: disableTrigger)
  • [x] [echoUserWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#echoUserWindow) (TLuaInterpreter :: echoUserWindow)
  • [x] [enableAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableAlias) (TLuaInterpreter :: enableAlias)
  • [x] [enableTimer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableTimer) (TLuaInterpreter :: enableTimer)
  • [x] [enableTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableTrigger) (TLuaInterpreter :: enableTrigger)
  • [x] [موجود] (https://wiki.mudlet.org/w/Manual:Lua_Functions#exists) (TLuaInterpreter :: موجود)
  • [x] [getAreaRooms] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAreaRooms) (TLuaInterpreter :: getAreaRooms)
  • [x] [getExitWeights] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getExitWeights) (TLuaInterpreter :: getExitWeights)
  • [x] [getMapLabels] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getMapLabels) (TLuaInterpreter :: getMapLabels)
  • [x] [getMapLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getMapLabel) (TLuaInterpreter :: getMapLabel)
  • [x] [getModulePath] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getModulePath) (TLuaInterpreter :: getModulePath)
  • [x] [getModulePriority] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getModulePriority) (TLuaInterpreter :: getModulePriority)
  • [x] [getMudletVersion] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getMudletVersion) (TLuaInterpreter :: getMudletVersion)
  • [x] [getRoomArea] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomArea) (TLuaInterpreter :: getRoomArea)
  • [x] [getRoomCoordinates] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomCoordinates) (TLuaInterpreter :: getRoomCoordinates)
  • [x] [getRoomEnv] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomEnv) (TLuaInterpreter :: getRoomEnv)
  • [x] [getRoomExits] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomExits) (TLuaInterpreter :: getRoomExits)
  • [x] [getRoomWeight] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomWeight) (TLuaInterpreter :: getRoomWeight)
  • [x] يحتوي getRoomWeight على تعليق يربط بوثائق gotoRoom بدلاً من ذلك ، يجب أن يكون getRoomWeight
  • [x] [getRoomsByPosition] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomsByPosition) (TLuaInterpreter :: getRoomsByPosition)
  • [x] [getSpecialExits] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getSpecialExits) (TLuaInterpreter :: getSpecialExits)
  • [x] [getSpecialExitsSwap] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getSpecialExitsSwap) (TLuaInterpreter :: getSpecialExitsSwap)
  • [x] [gotoRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#gotoRoom) (TLuaInterpreter :: gotoRoom)
  • [x] [hasExitLock] (https://wiki.mudlet.org/w/Manual:Lua_Functions#hasExitLock) (TLuaInterpreter :: hasExitLock)
  • [x] [hasSpecialExitLock] (https://wiki.mudlet.org/w/Manual:Lua_Functions#hasSpecialExitLock) (TLuaInterpreter :: hasSpecialExitLock)
  • [x] [hideWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#hideWindow) (TLuaInterpreter :: hideUserWindow)
  • [x] [lightRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#highlightRoom) (TLuaInterpreter :: lightRoom)
  • [] [insertLink] (https://wiki.mudlet.org/w/Manual:Lua_Functions#insertLink) (TLuaInterpreter :: insertLink) - لست متأكدًا من كيفية عمل ذلك على الإطلاق
  • [x] [insertPopup] (https://wiki.mudlet.org/w/Manual:Lua_Functions#insertPopup) (TLuaInterpreter :: insertPopup)
  • [x] [invokeFileDialog] (https://wiki.mudlet.org/w/Manual:Lua_Functions#invokeFileDialog) (TLuaInterpreter :: invokeFileDialog)
  • [x] [killAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#killAlias) (TLuaInterpreter :: killAlias)
  • [x] [killTimer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#killTimer) (TLuaInterpreter :: killTimer)
  • [x] [killTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#killTrigger) (TLuaInterpreter :: killTrigger)
  • [x] [lockExit] (https://wiki.mudlet.org/w/Manual:Lua_Functions#lockExit) (TLuaInterpreter :: lockExit)
  • [x] [lockRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#lockRoom) (TLuaInterpreter :: lockRoom)
  • [x] [lockSpecialExit] (https://wiki.mudlet.org/w/Manual:Lua_Functions#lockSpecialExit) (TLuaInterpreter :: lockSpecialExit)
  • [x] [moveCursor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#moveCursor) (TLuaInterpreter :: moveCursor)
  • [x] [moveWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#moveWindow) (TLuaInterpreter :: moveWindow)
  • [x] [openUrl] (https://wiki.mudlet.org/w/Manual:Lua_Functions#openUrl) (TLuaInterpreter :: openUrl)
  • [x] [playSoundFile] (https://wiki.mudlet.org/w/Manual:Lua_Functions#playSoundFile) (TLuaInterpreter :: playSoundFile)
  • [x] [removeMapEvent] (https://wiki.mudlet.org/w/Manual:Lua_Functions#removeMapEvent) (TLuaInterpreter :: removeMapEvent)
  • [x] [removeSpecialExit] (https://wiki.mudlet.org/w/Manual:Lua_Functions#removeSpecialExit) (TLuaInterpreter :: removeSpecialExit)
  • [x] [استبدال] (https://wiki.mudlet.org/w/Manual:Lua_Functions#replace) (TLuaInterpreter :: replace)
  • [x] [resizeWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#resizeWindow) (TLuaInterpreter :: resizeWindow)
  • [x] [roomExists] (https://wiki.mudlet.org/w/Manual:Lua_Functions#roomExists) (TLuaInterpreter :: roomExists)
  • [x] [roomLocked] (https://wiki.mudlet.org/w/Manual:Lua_Functions#roomLocked) (TLuaInterpreter :: roomLocked)
  • [x] [setBorderColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderColor) (TLuaInterpreter :: setBorderColor)
  • [x] [setConsoleBufferSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setConsoleBufferSize) (TLuaInterpreter :: setConsoleBufferSize)
  • [x] [setCustomEnvColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setCustomEnvColor) (TLuaInterpreter :: setCustomEnvColor)
  • [x] [setExit] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setExit) (TLuaInterpreter :: setExit)
  • [x] [setExitStub] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setExitStub) (TLuaInterpreter :: setExitStub)
  • [x] [setGridMode] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setGridMode) (TLuaInterpreter :: setGridMode)
  • [x] [setLabelStyleSheet] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelStyleSheet) (TLuaInterpreter :: setLabelStyleSheet)
  • [x] [setLink] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLink) (TLuaInterpreter :: setLink)
  • [x] [setMainWindowSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setMainWindowSize) (TLuaInterpreter :: setMainWindowSize)
  • [x] [setMapZoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setMapZoom) (TLuaInterpreter :: setMapZoom)
  • [] [setPopup] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setPopup) (TLuaInterpreter :: setPopup) - يبدو أن الكود يتعارض مع الويكي
  • [x] [setRoomCoordinates] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomCoordinates) (TLuaInterpreter :: setRoomCoordinates)
  • [x] [setRoomWeight] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomWeight) (TLuaInterpreter :: setRoomWeight)
  • [x] [setTriggerStayOpen] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setTriggerStayOpen) (TLuaInterpreter :: setTriggerStayOpen)
  • [x] [setWindowWrap] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setWindowWrap) (TLuaInterpreter :: setWindowWrap)
  • [x] [setWindowWrapIndent] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setWindowWrapIndent) (TLuaInterpreter :: setWindowWrapIndent)
  • [x] [showWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#showWindow) (TLuaInterpreter :: showUserWindow)
  • لا يبدو أن ظهور [x] للتحقق من الحجج من أجل الوضوح على الإطلاق ، حتى الآن!
  • [x] خطأ مطبعي spellCheckWord: تشير رسالة الخطأ إلى spellSuggestWord
  • [x] خطأ مطبعي في tempBeginOfLineTrigger: تشير رسالة الخطأ إلى tempRegexTrigger
  • [x] [tempButton] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempButton) (TLuaInterpreter :: tempButton)
  • [x] [tempButtonToolbar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempButtonToolbar) (TLuaInterpreter :: tempButtonToolbar)
  • [x] [unHighlightRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#unHighlightRoom) (TLuaInterpreter :: unHighlightRoom)


كانت هذه الوظائف بالفعل توحيد الرسائل على ما يرام

  • [x] [addAreaName] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addAreaName) (TLuaInterpreter :: addAreaName)
  • [x] [addCustomLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addCustomLine) (TLuaInterpreter :: addCustomLine)
  • [x] [addMapEvent] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addMapEvent) (TLuaInterpreter :: addMapEvent)
  • [x] [addWordToDictionary] (https://wiki.mudlet.org/w/Manual:Lua_Functions#addWordToDictionary) (TLuaInterpreter :: addWordToDictionary)
  • [x] [AdjustStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#adjustStopWatch) (TLuaInterpreter :: AdjustStopWatch)
  • [x] [تنبيه] (https://wiki.mudlet.org/w/Manual:Lua_Functions#alert) (TLuaInterpreter :: alert)
  • [x] [appendBuffer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#appendBuffer) (TLuaInterpreter :: appendBuffer)
  • [x] [appendCmdLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#appendCmdLine) (TLuaInterpreter :: appendCmdLine)
  • [x] [calcFontSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#calcFontSize) (TLuaInterpreter :: calcFontSize)
  • [x] [centerview] (https://wiki.mudlet.org/w/Manual:Lua_Functions#centerview) (TLuaInterpreter :: centerview)
  • [x] [clearAreaUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearAreaUserData) (TLuaInterpreter :: clearAreaUserData)
  • [x] [clearAreaUserDataItem] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearAreaUserDataItem) (TLuaInterpreter :: clearAreaUserDataItem)
  • [x] [clearCmdLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearCmdLine) (TLuaInterpreter :: clearCmdLine)
  • [x] [clearMapUserDataItem] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearMapUserDataItem) (TLuaInterpreter :: clearMapUserDataItem)
  • [x] [clearRoomUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearRoomUserData) (TLuaInterpreter :: clearRoomUserData)
  • [x] [clearRoomUserDataItem] (https://wiki.mudlet.org/w/Manual:Lua_Functions#clearRoomUserDataItem) (TLuaInterpreter :: clearRoomUserDataItem)
  • [x] [connectExitStub] (https://wiki.mudlet.org/w/Manual:Lua_Functions#connectExitStub) (TLuaInterpreter :: connectExitStub)
  • [x] [connectToServer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#connectToServer) (TLuaInterpreter :: connectToServer)
  • [x] [نسخة] (https://wiki.mudlet.org/w/Manual:Lua_Functions#copy) (TLuaInterpreter :: copy)
  • [x] [createCommandLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createCommandLine) (TLuaInterpreter :: createCommandLine)
  • [x] [createLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createLabel) (TLuaInterpreter :: createLabel)
  • [x] [createMapper] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createMapper) (TLuaInterpreter :: createMapper)
  • [x] [createMiniConsole] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createMiniConsole) (TLuaInterpreter :: createMiniConsole)
  • [x] [createStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#createStopWatch) (TLuaInterpreter :: createStopWatch)
  • [x] [debugc] (https://wiki.mudlet.org/w/Manual:Lua_Functions#debugc) (TLuaInterpreter :: debug)
  • [x] [deleteArea] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteArea) (TLuaInterpreter :: deleteArea)
  • [x] [deleteLabel] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteLabel) (TLuaInterpreter :: deleteLabel)
  • [x] [deleteLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteLine) (TLuaInterpreter :: deleteLine)
  • [x] [deleteStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deleteStopWatch) (TLuaInterpreter :: deleteStopWatch)
  • [x] [إلغاء التحديد] (https://wiki.mudlet.org/w/Manual:Lua_Functions#deselect) (TLuaInterpreter :: إلغاء التحديد)
  • [x] [disableClickthrough] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableClickthrough) (TLuaInterpreter :: disableClickthrough)
  • [x] [disableCommandLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableCommandLine) (TLuaInterpreter :: disableCommandLine)
  • [x] [disableHorizontalScrollBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableHorizontalScrollBar) (TLuaInterpreter :: disableHorizontalScrollBar)
  • [x] [تعطيل مفتاح] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableKey) (TLuaInterpreter :: disableKey)
  • [x] [تعطيل سكريبت] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableScript) (TLuaInterpreter :: disableScript)
  • [x] [disableScrollBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#disableScrollBar) (TLuaInterpreter :: disableScrollBar)
  • [x] [downloadFile] (https://wiki.mudlet.org/w/Manual:Lua_Functions#downloadFile) (TLuaInterpreter :: downloadFile)
  • [x] [echo] (https://wiki.mudlet.org/w/Manual:Lua_Functions#echo) (TLuaInterpreter :: Echo)
  • [x] [echoLink] (https://wiki.mudlet.org/w/Manual:Lua_Functions#echoLink) (TLuaInterpreter :: echoLink)
  • [x] [echoPopup] (https://wiki.mudlet.org/w/Manual:Lua_Functions#echoPopup) (TLuaInterpreter :: echoPopup)
  • [x] [enableClickthrough] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableClickthrough) (TLuaInterpreter :: enableClickthrough)
  • [x] [enableCommandLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableCommandLine) (TLuaInterpreter :: enableCommandLine)
  • [x] [enableHorizontalScrollBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableHorizontalScrollBar) (TLuaInterpreter :: enableHorizontalScrollBar)
  • [x] [enableKey] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableKey) (TLuaInterpreter :: enableKey)
  • [x] [enableScript] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableScript) (TLuaInterpreter :: enableScript)
  • [x] [enableScrollBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#enableScrollBar) (TLuaInterpreter :: enableScrollBar)
  • [x] [expandAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#expandAlias) (TLuaInterpreter :: expandAlias)
  • [x] [exportAreaImage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#exportAreaImage) (TLuaInterpreter :: exportAreaImage)
  • [x] [feedTriggers] (https://wiki.mudlet.org/w/Manual:Lua_Functions#feedTriggers) (TLuaInterpreter :: feedTriggers)
  • [x] [getAllAreaUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAllAreaUserData) (TLuaInterpreter :: getAllAreaUserData)
  • [x] [getAllRoomEntrances] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAllRoomEntrances) (TLuaInterpreter :: getAllRoomEntrances)
  • [x] [getAllRoomUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAllRoomUserData) (TLuaInterpreter :: getAllRoomUserData)
  • [x] [getAreaExits] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAreaExits) (TLuaInterpreter :: getAreaExits)
  • [x] [getAreaUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getAreaUserData) (TLuaInterpreter :: getAreaUserData)
  • [x] [getBgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getBgColor) (TLuaInterpreter :: getBgColor)
  • [x] [getCmdLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getCmdLine) (TLuaInterpreter :: getCmdLine)
  • [x] [getColumnCount] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getColumnCount) (TLuaInterpreter :: getColumnCount)
  • [x] [getColumnNumber] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getColumnNumber) (TLuaInterpreter :: getColumnNumber)
  • [x] [getCurrentLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getCurrentLine) (TLuaInterpreter :: getCurrentLine)
  • [x] [getCustomLines] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getCustomLines) (TLuaInterpreter :: getCustomLines)
  • [x] [getDoors] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getDoors) (TLuaInterpreter :: getDoors)
  • [x] [getExitStubs] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getExitStubs) (TLuaInterpreter :: getExitStubs)
  • [x] [getExitStubs1] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getExitStubs1) (TLuaInterpreter :: getExitStubs1)
  • [x] [getFgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getFgColor) (TLuaInterpreter :: getFgColor)
  • [x] [getFont] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getFont) (TLuaInterpreter :: getFont)
  • [x] [getFontSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getFontSize) (TLuaInterpreter :: getFontSize)
  • [x] [getImageSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getImageSize) (TLuaInterpreter :: getImageSize)
  • [x] [getLastLineNumber] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getLastLineNumber) (TLuaInterpreter :: getLastLineNumber)
  • [x] [getLineNumber] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getLineNumber) (TLuaInterpreter :: getLineNumber)
  • [x] [getLines] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getLines) (TLuaInterpreter :: getLines)
  • [x] [getMapUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getMapUserData) (TLuaInterpreter :: getMapUserData)
  • [x] [getPath] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getPath) (TLuaInterpreter :: getPath)
  • [x] [getRoomAreaName] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomAreaName) (TLuaInterpreter :: getRoomAreaName)
  • [x] [getRoomChar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomChar) (TLuaInterpreter :: getRoomChar)
  • [x] [getRoomHashByID] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomHashByID) (TLuaInterpreter :: getRoomHashByID)
  • [x] [getRoomIDbyHash] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomIDbyHash) (TLuaInterpreter :: getRoomIDbyHash)
  • [x] [getRoomUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomUserData) (TLuaInterpreter :: getRoomUserData)
  • [x] [getRoomUserDataKeys] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRoomUserDataKeys) (TLuaInterpreter :: getRoomUserDataKeys)
  • [x] [getRowCount] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getRowCount) (TLuaInterpreter :: getRowCount)
  • [x] [getScript] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getScript) (TLuaInterpreter :: getScript)
  • [x] [getSelection] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getSelection) (TLuaInterpreter :: getSelection)
  • [x] [getStopWatchBrokenDownTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getStopWatchBrokenDownTime) (TLuaInterpreter :: getStopWatchBrokenDownTime)
  • [x] [getStopWatchTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getStopWatchTime) (TLuaInterpreter :: getStopWatchTime)
  • [x] [getTextFormat] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getTextFormat) (TLuaInterpreter :: getTextFormat)
  • [x] [getTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getTime) (TLuaInterpreter :: getTime)
  • [x] [getTimestamp] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getTimestamp) (TLuaInterpreter :: getTimestamp)
  • [x] [getUserWindowSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#getUserWindowSize) (TLuaInterpreter :: getUserWindowSize)
  • [x] [hideToolBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#hideToolBar) (TLuaInterpreter :: hideToolBar)
  • [x] [insertText] (https://wiki.mudlet.org/w/Manual:Lua_Functions#insertText) (TLuaInterpreter :: insertText)
  • [x] [installModule] (https://wiki.mudlet.org/w/Manual:Lua_Functions#installModule) (TLuaInterpreter :: installModule)
  • [x] [installPackage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#installPackage) (TLuaInterpreter :: installPackage)
  • [x] [نشط] (https://wiki.mudlet.org/w/Manual:Lua_Functions#isActive) (TLuaInterpreter :: isActive)
  • [x] [isAnsiBgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#isAnsiBgColor) (TLuaInterpreter :: isAnsiBgColor)
  • [x] [isAnsiFgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#isAnsiFgColor) (TLuaInterpreter :: isAnsiFgColor)
  • [x] [killKey] (https://wiki.mudlet.org/w/Manual:Lua_Functions#killKey) (TLuaInterpreter :: killKey)
  • [x] [loadMap] (https://wiki.mudlet.org/w/Manual:Lua_Functions#loadMap) (TLuaInterpreter :: loadMap)
  • [x] [loadReplay] (https://wiki.mudlet.org/w/Manual:Lua_Functions#loadReplay) (TLuaInterpreter :: loadRawFile)
  • [x] [LowerWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#lowerWindow) (TLuaInterpreter :: LowerWindow)
  • [x] [moveCursorEnd] (https://wiki.mudlet.org/w/Manual:Lua_Functions#moveCursorEnd) (TLuaInterpreter :: moveCursorEnd)
  • [x] [openMapWidget] (https://wiki.mudlet.org/w/Manual:Lua_Functions#openMapWidget) (TLuaInterpreter :: openMapWidget)
  • [x] [openUserWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#openUserWindow) (TLuaInterpreter :: openUserWindow)
  • [x] [openWebPage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#openWebPage) (TLuaInterpreter :: openWebPage)
  • [x] [لصق] (https://wiki.mudlet.org/w/Manual:Lua_Functions#paste) (TLuaInterpreter :: لصق)
  • [x] [permAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permAlias) (TLuaInterpreter :: permAlias)
  • [x] [permBeginOfLineStringTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permBeginOfLineStringTrigger) (TLuaInterpreter :: permBeginOfLineStringTrigger)
  • [x] [permKey] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permKey) (TLuaInterpreter :: permKey)
  • [x] [permPromptTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permPromptTrigger) (TLuaInterpreter :: permPromptTrigger)
  • [x] [permRegexTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permRegexTrigger) (TLuaInterpreter :: permRegexTrigger)
  • [x] [permScript] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permScript) (TLuaInterpreter :: permScript)
  • [x] [permSubstringTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permSubstringTrigger) (TLuaInterpreter :: permSubstringTrigger)
  • [x] [permTimer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#permTimer) (TLuaInterpreter :: permTimer)
  • [x] [printCmdLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#printCmdLine) (TLuaInterpreter :: printCmdLine)
  • [x] [liftEvent] (https://wiki.mudlet.org/w/Manual:Lua_Functions#raiseEvent) (TLuaInterpreter :: liftEvent)
  • [x] [liftGlobalEvent] (https://wiki.mudlet.org/w/Manual:Lua_Functions#raiseGlobalEvent) (TLuaInterpreter :: liftGlobalEvent)
  • [x] [liftWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#raiseWindow) (TLuaInterpreter :: liftWindow)
  • [x] [registerAnonymousEventHandler] (https://wiki.mudlet.org/w/Manual:Lua_Functions#registerAnonymousEventHandler) (TLuaInterpreter :: registerAnonymousEventHandler)
  • [x] [reloadModule] (https://wiki.mudlet.org/w/Manual:Lua_Functions#reloadModule) (TLuaInterpreter :: reloadModule)
  • [x] [تبقىTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#remainingTime) (TLuaInterpreter :: stayTime)
  • [x] [removeCustomLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#removeCustomLine) (TLuaInterpreter :: removeCustomLine)
  • [x] [removeMapMenu] (https://wiki.mudlet.org/w/Manual:Lua_Functions#removeMapMenu) (TLuaInterpreter :: removeMapMenu)
  • [x] [removeWordFromDictionary] (https://wiki.mudlet.org/w/Manual:Lua_Functions#removeWordFromDictionary) (TLuaInterpreter :: removeWordFromDictionary)
  • [x] [resetBackgroundImage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#resetBackgroundImage) (TLuaInterpreter :: resetBackgroundImage)
  • [x] [resetCmdLineAction] (https://wiki.mudlet.org/w/Manual:Lua_Functions#resetCmdLineAction) (TLuaInterpreter :: resetCmdLineAction)
  • [x] [resetStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#resetStopWatch) (TLuaInterpreter :: resetStopWatch)
  • [x] [saveMap] (https://wiki.mudlet.org/w/Manual:Lua_Functions#saveMap) (TLuaInterpreter :: saveMap)
  • [x] [searchAreaUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#searchAreaUserData) (TLuaInterpreter :: searchAreaUserData)
  • [x] [searchRoom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#searchRoom) (TLuaInterpreter :: searchRoom)
  • [x] [searchRoomUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#searchRoomUserData) (TLuaInterpreter :: searchRoomUserData)
  • [x] [selectCaptureGroup] (https://wiki.mudlet.org/w/Manual:Lua_Functions#selectCaptureGroup) (TLuaInterpreter :: selectCaptureGroup)
  • [x] [selectCurrentLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#selectCurrentLine) (TLuaInterpreter :: selectCurrentLine)
  • [x] [selectSection] (https://wiki.mudlet.org/w/Manual:Lua_Functions#selectSection) (TLuaInterpreter :: selectSection)
  • [x] [selectString] (https://wiki.mudlet.org/w/Manual:Lua_Functions#selectString) (TLuaInterpreter :: selectString)
  • [x] [إرسال] (https://wiki.mudlet.org/w/Manual:Lua_Functions#send) (TLuaInterpreter :: sendRaw)
  • [x] [sendATCP] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendATCP) (TLuaInterpreter :: sendATCP)
  • [x] [sendGMCP] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendGMCP) (TLuaInterpreter :: sendGMCP)
  • [x] [sendIrc] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendIrc) (TLuaInterpreter :: sendIrc)
  • [x] [sendMSDP] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendMSDP) (TLuaInterpreter :: sendMSDP)
  • [x] [sendSocket] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendSocket) (TLuaInterpreter :: sendSocket)
  • [x] [sendTelnetChannel102] (https://wiki.mudlet.org/w/Manual:Lua_Functions#sendTelnetChannel102) (TLuaInterpreter :: sendTelnetChannel102)
  • [x] [setAppStyleSheet] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setAppStyleSheet) (TLuaInterpreter :: setAppStyleSheet)
  • [x] [setAreaUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setAreaUserData) (TLuaInterpreter :: setAreaUserData)
  • [x] [setBackgroundColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBackgroundColor) (TLuaInterpreter :: setBackgroundColor)
  • [x] [setBackgroundImage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBackgroundImage) (TLuaInterpreter :: setBackgroundImage)
  • [x] [setBgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBgColor) (TLuaInterpreter :: setBgColor)
  • [x] [setBold] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBold) (TLuaInterpreter :: setBold)
  • [x] [setBorderBottom] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderBottom) (TLuaInterpreter :: setBorderBottom)
  • [x] [setBorderLeft] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderLeft) (TLuaInterpreter :: setBorderLeft)
  • [x] [setBorderRight] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderRight) (TLuaInterpreter :: setBorderRight)
  • [x] [setBorderSizes] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderSizes) (TLuaInterpreter :: setBorderSizes)
  • [x] [setBorderTop] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setBorderTop) (TLuaInterpreter :: setBorderTop)
  • [x] [setButtonStyleSheet] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setButtonStyleSheet) (TLuaInterpreter :: setButtonStyleSheet)
  • [x] [setCmdLineAction] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setCmdLineAction) (TLuaInterpreter :: setCmdLineAction)
  • [x] [setCmdLineStyleSheet] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setCmdLineStyleSheet) (TLuaInterpreter :: setCmdLineStyleSheet
  • [x] [setDefaultAreaVisible] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDefaultAreaVisible) (TLuaInterpreter :: setDefaultAreaVisible)
  • [x] [setDiscordApplicationID] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordApplicationID) (TLuaInterpreter :: setDiscordApplicationID)
  • [x] [setDiscordDetail] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordDetail) (TLuaInterpreter :: setDiscordDetail)
  • [x] [setDiscordElapsedStartTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordElapsedStartTime) (TLuaInterpreter :: setDiscordElapsedStartTime)
  • [x] [setDiscordGame] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordGame) (TLuaInterpreter :: setDiscordGame)
  • [x] [setDiscordLargeIcon] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordLargeIcon) (TLuaInterpreter :: setDiscordLargeIcon)
  • [x] [setDiscordLargeIconText] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordLargeIconText) (TLuaInterpreter :: setDiscordLargeIconText)
  • [x] [setDiscordParty] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordParty) (TLuaInterpreter :: setDiscordParty)
  • [x] [setDiscordRemainingEndTime] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordRemainingEndTime) (TLuaInterpreter :: setDiscordRemainingEndTime)
  • [x] [setDiscordSmallIcon] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordSmallIcon) (TLuaInterpreter :: setDiscordSmallIcon)
  • [x] [setDiscordSmallIconText] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordSmallIconText) (TLuaInterpreter :: setDiscordSmallIconText)
  • [x] [setDiscordState] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDiscordState) (TLuaInterpreter :: setDiscordState)
  • [x] [setDoor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setDoor) (TLuaInterpreter :: setDoor)
  • [x] [setExitWeight] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setExitWeight) (TLuaInterpreter :: setExitWeight)
  • [x] [setFgColor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setFgColor) (TLuaInterpreter :: setFgColor)
  • [x] [setFont] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setFont) (TLuaInterpreter :: setFont)
  • [x] [setFontSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setFontSize) (TLuaInterpreter :: setFontSize)
  • [x] [setIrcChannels] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setIrcChannels) (TLuaInterpreter :: setIrcChannels)
  • [x] [setIrcNick] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setIrcNick) (TLuaInterpreter :: setIrcNick)
  • [x] [setIrcServer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setIrcServer) (TLuaInterpreter :: setIrcServer)
  • [x] [setItalics] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setItalics) (TLuaInterpreter :: setItalics)
  • [x] [setLabelClickCallback] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelClickCallback) (TLuaInterpreter :: setLabelClickCallback)
  • [x] [setLabelCursor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelCursor) (TLuaInterpreter :: setLabelCursor)
  • [x] [setLabelCustomCursor] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelCustomCursor) (TLuaInterpreter :: setLabelCustomCursor)
  • [x] [setLabelDoubleClickCallback] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelDoubleClickCallback) (TLuaInterpreter :: setLabelDoubleClickCallback)
  • [x] [setLabelMoveCallback] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelMoveCallback) (TLuaInterpreter :: setLabelMoveCallback)
  • [x] [setLabelOnEnter] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelOnEnter) (TLuaInterpreter :: setLabelOnEnter)
  • [x] [setLabelOnLeave] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelOnLeave) (TLuaInterpreter :: setLabelOnLeave)
  • [x] [setLabelReleaseCallback] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelReleaseCallback) (TLuaInterpreter :: setLabelReleaseCallback)
  • [x] [setLabelToolTip] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelToolTip) (TLuaInterpreter :: setLabelToolTip)
  • [x] [setLabelWheelCallback] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setLabelWheelCallback) (TLuaInterpreter :: setLabelWheelCallback)
  • [x] [setMapUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setMapUserData) (TLuaInterpreter :: setMapUserData)
  • [x] [setMergeTables] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setMergeTables) (TLuaInterpreter :: setMergeTables)
  • [x] [setMiniConsoleFontSize] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setMiniConsoleFontSize) (TLuaInterpreter :: setMiniConsoleFontSize)
  • [x] [setModulePriority] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setModulePriority) (TLuaInterpreter :: setModulePriority)
  • [x] [setOverline] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setOverline) (TLuaInterpreter :: setOverline)
  • [x] [setProfileIcon] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setProfileIcon) (TLuaInterpreter :: setProfileIcon)
  • [x] [setReverse] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setReverse) (TLuaInterpreter :: setReverse)
  • [x] [setRoomChar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomChar) (TLuaInterpreter :: setRoomChar)
  • [x] [setRoomIDbyHash] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomIDbyHash) (TLuaInterpreter :: setRoomIDbyHash)
  • [x] [setRoomUserData] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setRoomUserData) (TLuaInterpreter :: setRoomUserData)
  • [x] [setScript] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setScript) (TLuaInterpreter :: setScript)
  • [x] [setServerEncoding] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setServerEncoding) (TLuaInterpreter :: setServerEncoding)
  • [x] [setStopWatchName] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setStopWatchName) (TLuaInterpreter :: setStopWatchName)
  • [x] [setStopWatchPersistance] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setStopWatchPersistance) (TLuaInterpreter :: setStopWatchPersistance)
  • [x] [setStrikeOut] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setStrikeOut) (TLuaInterpreter :: setStrikeOut)
  • [x] [setTextFormat] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setTextFormat) (TLuaInterpreter :: setTextFormat)
  • [x] [setUnderline] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setUnderline) (TLuaInterpreter :: setUnderline)
  • [x] [setUserWindowStyleSheet] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setUserWindowStyleSheet) (TLuaInterpreter :: setUserWindowStyleSheet)
  • [x] [setUserWindowTitle] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setUserWindowTitle) (TLuaInterpreter :: setUserWindowTitle)
  • [x] [setWindow] (https://wiki.mudlet.org/w/Manual:Lua_Functions#setWindow) (TLuaInterpreter :: setWindow)
  • [x] [showToolBar] (https://wiki.mudlet.org/w/Manual:Lua_Functions#showToolBar) (TLuaInterpreter :: showToolBar)
  • [x] [spellCheckWord] (https://wiki.mudlet.org/w/Manual:Lua_Functions#spellCheckWord) (TLuaInterpreter :: spellCheckWord)
  • [x] [spellSuggestWord] (https://wiki.mudlet.org/w/Manual:Lua_Functions#spellSuggestWord) (TLuaInterpreter :: spellSuggestWord)
  • [x] [startLogging] (https://wiki.mudlet.org/w/Manual:Lua_Functions#startLogging) (TLuaInterpreter :: startLogging)
  • [x] [startStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#startStopWatch) (TLuaInterpreter :: startStopWatch)
  • [x] [stopStopWatch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#stopStopWatch) (TLuaInterpreter :: stopStopWatch)
  • [x] [tempAlias] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempAlias) (TLuaInterpreter :: tempAlias)
  • [x] [tempAnsiColorTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempAnsiColorTrigger) (TLuaInterpreter :: tempAnsiColorTrigger)
  • [x] [tempBeginOfLineTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempBeginOfLineTrigger) (TLuaInterpreter :: tempBeginOfLineTrigger)
  • [x] [tempColorTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempColorTrigger) (TLuaInterpreter :: tempColorTrigger)
  • [x] [tempComplexRegexTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempComplexRegexTrigger) (TLuaInterpreter :: tempComplexRegexTrigger)
  • [x] [tempExactMatchTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempExactMatchTrigger) (TLuaInterpreter :: tempExactMatchTrigger)
  • [x] [tempKey] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempKey) (TLuaInterpreter :: tempKey)
  • [x] [tempLineTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempLineTrigger) (TLuaInterpreter :: tempLineTrigger)
  • [x] [tempPromptTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempPromptTrigger) (TLuaInterpreter :: tempPromptTrigger)
  • [x] [tempRegexTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempRegexTrigger) (TLuaInterpreter :: tempRegexTrigger)
  • [x] [tempTimer] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempTimer) (TLuaInterpreter :: tempTimer)
  • [x] [tempTrigger] (https://wiki.mudlet.org/w/Manual:Lua_Functions#tempTrigger) (TLuaInterpreter :: tempTrigger)
  • [x] [ttsClearQueue] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsClearQueue) (TLuaInterpreter :: ttsClearQueue)
  • [x] [ttsGetQueue] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsGetQueue) (TLuaInterpreter :: ttsGetQueue)
  • [x] [ttsQueue] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsQueue) (TLuaInterpreter :: ttsQueue)
  • [x] [ttsSetPitch] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSetPitch) (TLuaInterpreter :: ttsSetPitch)
  • [x] [ttsSetRate] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSetRate) (TLuaInterpreter :: ttsSetRate)
  • [x] [ttsSetVoiceByIndex] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSetVoiceByIndex) (TLuaInterpreter :: ttsSetVoiceByIndex)
  • [x] [ttsSetVoiceByName] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSetVoiceByName) (TLuaInterpreter :: ttsSetVoiceByName)
  • [x] [ttsSetVolume] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSetVolume) (TLuaInterpreter :: ttsSetVolume)
  • [x] [ttsSpeak] (https://wiki.mudlet.org/w/Manual:Lua_Functions#ttsSpeak) (TLuaInterpreter :: ttsSpeak)
  • [x] [uninstallModule] (https://wiki.mudlet.org/w/Manual:Lua_Functions#uninstallModule) (TLuaInterpreter :: uninstallModule)
  • [x] [uninstallPackage] (https://wiki.mudlet.org/w/Manual:Lua_Functions#uninstallPackage) (TLuaInterpreter :: uninstallPackage)
  • [x] [wrapLine] (https://wiki.mudlet.org/w/Manual:Lua_Functions#wrapLine) (TLuaInterpreter :: wrapLine)


✅ الوظائف الداخلية - غير معروفة للمستخدمين


✅ وظائف بدون حجج - بخير بالفعل! 😄

لم يكتمل التحقق بعد ، ولكن تم العثور بالفعل على 65 وظيفة تحتاج إلى عمل. ⚡
يتم تحديث رسالتي الأخيرة أعلاه باستمرار بآخر حالة لكل منها.

لتجنب النمو غير المنضبط لأنماط رسائل الخطأ المختلفة مرة أخرى ، يجب أن يكون إنشاء الرسالة المذكورة مركزيًا في وظيفة مساعدة ، والتي تتلقى فقط التفاصيل كما هو مذكور أعلاه ، وتعيد السلسلة الكاملة. لذلك ، يمكن إجراء التعديلات المستقبلية على بنية الجملة مرة واحدة وبسهولة.

لست متأكدًا مما إذا كان من الممكن إجراء إعادة البناء هذه مسبقًا أم أنها خارج النطاق هنا.
يكمن الخطر إذا لم يتم القيام به في رسائل الخطأ المحصنة اليوم ، غدًا بعد النمو الجامح مرة أخرى.

تم التحقق. بعد النظر في هذه الوظائف الـ 400 المنشورة من TLuaInterpreter لبضع ساعات أخرى ، لدينا إجمالي 80 وظيفة لإصلاحها. يمكنك العثور على القائمة الكاملة خلف علامات المفسد في تعليقي أعلاه. أي متطوعين؟
grafik

كانت هناك أيضًا بعض الأخطاء والأخطاء التي لا مبالاة والتي كان من الممكن تجنبها من خلال إعادة بيع ديونتي المقترحة في OP.
على سبيل المثال ، تقوم الوظيفة X بالإبلاغ عن نفسها كدالة Y بدلاً من ذلك (ربما خطأ نسخ / لصق ، ولكن في الواقع تكرار غير ضروري للبيانات)

بينما لا يزال هناك عمل مستمر داخليًا لتبسيط إنشاء النص وتوحيده ، تتم هذه المشكلة في الغالب.

يرى اللاعبون فقط رسالة خطأ النمط "نوع وسيطة خاطئة" في setPopup () ولا يرى أي وظيفة أخرى بعد الآن.

كما هو موضح في https://github.com/Mudlet/Mudlet/pull/4599#issuecomment -756775208 لا تزال هناك اختلافات في التعليمات البرمجية ووثائق wiki

سأضع علامة على هذا على أنه تم. تتم مناقشة الوظيفة الوحيدة المتبقية (setPopup) في قضية منفصلة رقم 4641 لا تزال.

وفي الوقت نفسه ، أنشأنا وظائف المساعد المطلوبة وأعطينا أخطاء كتابة ذات مغزى وأخطاء قيمة لجميع وظائف c ++.

تم فحص وظائف Lua أيضًا. لا يقوم كل منهم بالتحقق من جميع الحجج الخاصة بهم بالفعل ، ولكن إذا فعلوا ذلك ، فإنهم يقدمون رسائل خطأ إعلامية.

هل كانت هذه الصفحة مفيدة؟
0 / 5 - 0 التقييمات