Saving Variables

Post Reply
Posts: 1
Joined: Mon Oct 19, 2009 6:25 pm

Saving Variables

Post by kleon »


i know to use lua variables, how to save between session?

i have variable 'totalgold' for lua. when restart, there is set to 0 again.
Do mudlet allow for variable to stay for after disconnect?

Sorry for english, am learning still!

User avatar
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Saving Variables

Post by Heiko »

Yes, you can save variables. Have a look at the & table.load() functions here: ... b=HEAD#api

Post Reply