Mudlet Manual missing a line?

Post Reply
rolly
Posts: 27
Joined: Sat Jul 03, 2010 9:51 pm

Mudlet Manual missing a line?

Post by rolly »

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

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet Manual missing a line?

Post by Vadi »

http://mudlet.org/asciidoc/manual.html is the latest version of the manual, and that stuff was removed from there.

rolly
Posts: 27
Joined: Sat Jul 03, 2010 9:51 pm

Re: Mudlet Manual missing a line?

Post by rolly »

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.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet Manual missing a line?

Post by Vadi »

It should. Unfortunately I can't update that website, only Heiko can.

Post Reply