Here is probably a simple one... Toward the bottom of the "Using Variables in Mudlet" section in the manual there the following: Can anyone enlighten me?
To define a variable to be a list you need to declare it to be a Lua table. Let’s declare the variable myEnemies as a list containing the names of your enemies:
THE PART THAT'S MISSING
You can now add new enemies to this list by calling the Lua function listAdd( listName, item ) e.g.
listAdd( myEnemies, "Tom" )
listAdd( myEnemies, "Jim" )
-------I would think something like: if myEnemies == nil then
myEnemies = {}
end
Can someone confirm this
Mudlet Manual missing a line?
Re: Mudlet Manual missing a line?
http://mudlet.org/asciidoc/manual.html is the latest version of the manual, and that stuff was removed from there.
Re: Mudlet Manual missing a line?
Thanks. for the help. I guess the idea of making a list is not too good an idea if it was removed. "The latest edition of the user manual can be found HERE" link that you get to from the game "Manual" tab should probably take you there.
Re: Mudlet Manual missing a line?
It should. Unfortunately I can't update that website, only Heiko can.