Plugin:MirLua/de: Difference between revisions

From Miranda NG
Plugin:MirLua/de
Jump to navigation Jump to search
(Created page with "Dieses Plugin verwendet $Lua_and_version, welches in der Bibliothek $dll_name mitgeliefert wird.")
No edit summary
Line 33: Line 33:
</code>
</code>


<div class="mw-translate-fuzzy">
== Interne Module ==
== Module ==
</div>


* EN
* EN

Revision as of 12:36, 7 April 2018

MirLua
MirLua
Dateiname MirLua.dll
Autor Miranda NG team
Download-Links
Stabile Version: 32-bit, 64-bit
Entwicklungsversion: 32-bit, 64-bit

Erweitert die Funktionalität von Miranda NG um Lua-Skripte.

Lua

Dieses Plugin verwendet Lua 5.3.4, welches in der Bibliothek lua53.dll mitgeliefert wird.

Additional functions

toansi

Encodes lua utf-8 string to ansi. It can be useful for passing string as parameter to ansi function.

m.CallService('mRadio/Import', 0, toansi(m.Parse('%miranda_path%\\Plugins\\mradio.ini')))

Also it has a short version a.

m.CallService('DB/Ini/ImportFile', 0, a'import\\autoexec.ini')

toucs2

Same as toansi but for utf-16. Also it has a short version u.

tonumber

If it receives light userdata parameter then returns it address as number, otherwise uses standard lua tonumber behavior.

topointer

Converts lua types bool, number, string to light userdata.

string.interpolate

Provides a more readable and convenient syntax to format string output.

local h = 'Hello' print('{h}, {w}!' % {w = 'World'})

Interne Module

Beispiele

{{#subpages:Content:MirLua/Examples}}

Externe Links