Is it possible to list files in a directory?
I'm very new to LUA in general, especially with the limited APIs given to us for these plugins. Is there a command I can use to parse a directory for files (like a "dir" or "ls" command) for purposes of dynamically populating a context menu?
|
Nope. The API is extremely limited. Very little of the Lua file library is implemented. The latest API (U25, 11-05-2019) docs are at:
https://www.lotrointerface.com/downl...mentation.html We can access .lua and .plugindata files as long as we know the file names ahead of time or the user provides them (that is trickier but can be done) but that is it. No other file types and no directory functionality at all. Note, access to .plugindata files is also very limited but at least there are workarounds for that (see https://www.lotro.com/forums/showthr...gins+for+noobs if you haven't already) |
Quote:
|
All times are GMT -5. The time now is 07:32 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI